WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicCellRendererBase<T> - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GraphicCellRendererBase<T>

    Inheritance
    System.Object
    GraphicCellRendererBase<T>
    GraphicCheckBoxCellRenderer
    GraphicImageCellRenderer
    GraphicRichTextBoxCellRenderer
    Implements
    IGraphicCellRenderer
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GraphicCellRendererBase<T> : IGraphicCellRenderer where T : FrameworkElement, new()
    Type Parameters
    Name Description
    T

    Constructors

    GraphicCellRendererBase()

    Declaration
    public GraphicCellRendererBase()

    Properties

    CanCreateRenderElement

    Declaration
    public bool CanCreateRenderElement { get; set; }
    Property Value
    Type Description
    System.Boolean

    CellModel

    Declaration
    public GraphicCellModelBase CellModel { get; }
    Property Value
    Type Description
    GraphicCellModelBase

    CurrentRenderElement

    Declaration
    public UIElement CurrentRenderElement { get; }
    Property Value
    Type Description
    System.Windows.UIElement

    CurrentStyle

    Declaration
    public GraphicStyleInfo CurrentStyle { get; }
    Property Value
    Type Description
    GraphicStyleInfo

    CurrentUIElement

    Declaration
    public UIElement CurrentUIElement { get; }
    Property Value
    Type Description
    System.Windows.UIElement

    GridControl

    Declaration
    public GridControlBase GridControl { get; set; }
    Property Value
    Type Description
    GridControlBase

    IsEditable

    Declaration
    public bool IsEditable { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    CreateUIElement(GraphicStyleInfo)

    Declaration
    protected virtual T CreateUIElement(GraphicStyleInfo cellInfo)
    Parameters
    Type Name Description
    GraphicStyleInfo cellInfo
    Returns
    Type Description
    T

    GetBounds(UIElement)

    Declaration
    public static Rect GetBounds(UIElement el)
    Parameters
    Type Name Description
    System.Windows.UIElement el
    Returns
    Type Description
    System.Windows.Rect

    GetControlValueFromEditor(T)

    Declaration
    protected virtual object GetControlValueFromEditor(T uiElement)
    Parameters
    Type Name Description
    T uiElement
    Returns
    Type Description
    System.Object

    OnArrange(UIElement, Rect, GraphicStyleInfo)

    Declaration
    protected virtual void OnArrange(UIElement uiElement, Rect rect, GraphicStyleInfo style)
    Parameters
    Type Name Description
    System.Windows.UIElement uiElement
    System.Windows.Rect rect
    GraphicStyleInfo style

    OnInitializeContent(T, GraphicStyleInfo)

    Declaration
    protected virtual void OnInitializeContent(T element, GraphicStyleInfo style)
    Parameters
    Type Name Description
    T element
    GraphicStyleInfo style

    RaiseCreated(GraphicCellModelBase)

    Declaration
    public void RaiseCreated(GraphicCellModelBase cellModel)
    Parameters
    Type Name Description
    GraphicCellModelBase cellModel

    SetBounds(UIElement, Rect, Boolean, Boolean)

    Declaration
    protected virtual void SetBounds(UIElement el, Rect rect, bool forceMeasure, bool forceArrange)
    Parameters
    Type Name Description
    System.Windows.UIElement el
    System.Windows.Rect rect
    System.Boolean forceMeasure
    System.Boolean forceArrange

    ShouldTryToHandlePreviewKeyDown(KeyEventArgs)

    Declaration
    protected virtual bool ShouldTryToHandlePreviewKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e
    Returns
    Type Description
    System.Boolean

    UnloadUIElements(Int32, T)

    Declaration
    protected virtual void UnloadUIElements(int index, T uiElement)
    Parameters
    Type Name Description
    System.Int32 index
    T uiElement

    UnWireEvents(T)

    Declaration
    protected virtual void UnWireEvents(T element)
    Parameters
    Type Name Description
    T element

    WireEvents(T)

    Declaration
    protected virtual void WireEvents(T element)
    Parameters
    Type Name Description
    T element

    Explicit Interface Implementations

    IGraphicCellRenderer.Arrange(UIElement, Rect, GraphicStyleInfo)

    Declaration
    void IGraphicCellRenderer.Arrange(UIElement uiElements, Rect cellRect, GraphicStyleInfo style)
    Parameters
    Type Name Description
    System.Windows.UIElement uiElements
    System.Windows.Rect cellRect
    GraphicStyleInfo style

    IGraphicCellRenderer.PrepareUIElements(GraphicStyleInfo, GraphicCellSpanInfo)

    Declaration
    UIElement IGraphicCellRenderer.PrepareUIElements(GraphicStyleInfo cellInfo, GraphicCellSpanInfo cellSpanInfo)
    Parameters
    Type Name Description
    GraphicStyleInfo cellInfo
    GraphicCellSpanInfo cellSpanInfo
    Returns
    Type Description
    System.Windows.UIElement

    IGraphicCellRenderer.SetBounds(UIElement, Rect, Boolean, Boolean)

    Declaration
    void IGraphicCellRenderer.SetBounds(UIElement el, Rect rect, bool forceMeasure, bool forceArrange)
    Parameters
    Type Name Description
    System.Windows.UIElement el
    System.Windows.Rect rect
    System.Boolean forceMeasure
    System.Boolean forceArrange

    IGraphicCellRenderer.ShouldTryToHandlePreviewKeyDown(KeyEventArgs)

    Declaration
    bool IGraphicCellRenderer.ShouldTryToHandlePreviewKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e
    Returns
    Type Description
    System.Boolean

    IGraphicCellRenderer.UnloadUIElements(Int32, GraphicCellUIElement)

    Declaration
    void IGraphicCellRenderer.UnloadUIElements(int index, GraphicCellUIElement uiElement)
    Parameters
    Type Name Description
    System.Int32 index
    GraphicCellUIElement uiElement

    Implements

    IGraphicCellRenderer
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved