Class GridCellDataTemplateRenderer
A renderer that manages a DataTemplate specified with
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl>
GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl>
GridCellDataTemplateRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellDataTemplateRenderer : GridVirtualizingCellRenderer<ContentControl>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellDataTemplateRenderer()
Initializes a new GridCellDataTemplateRenderer.
Declaration
public GridCellDataTemplateRenderer()
Methods
ArrangeUIElement(ArrangeCellArgs, ContentControl, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, ContentControl uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
System.Windows.Controls.ContentControl | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, System.Windows.Controls.ContentControl, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
CreateRendererElement(ContentControl, GridRenderStyleInfo)
Declaration
public override void CreateRendererElement(ContentControl uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ContentControl | uiElement | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl>.CreateRendererElement(System.Windows.Controls.ContentControl, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlTextFromEditorCore(ContentControl)
Declaration
protected override string GetControlTextFromEditorCore(ContentControl uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ContentControl | uiElement |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl>.GetControlTextFromEditorCore(System.Windows.Controls.ContentControl)
OnActivated()
Declaration
protected override void OnActivated()
Overrides
OnDeactivated()
Declaration
protected override void OnDeactivated()
Overrides
OnElementArranged(UIElement, Rect)
Declaration
protected override void OnElementArranged(UIElement el, Rect rect)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | el | |
System.Windows.Rect | rect |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl>.OnElementArranged(System.Windows.UIElement, System.Windows.Rect)
OnElementMeasured(UIElement, Size)
Declaration
protected override void OnElementMeasured(UIElement el, Size size)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | el | |
System.Windows.Size | size |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl>.OnElementMeasured(System.Windows.UIElement, System.Windows.Size)
OnGridPreviewTextInput(TextCompositionEventArgs)
Declaration
protected override void OnGridPreviewTextInput(TextCompositionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.TextCompositionEventArgs | e |
Overrides
OnInitializeContent(ContentControl, GridRenderStyleInfo)
Initializes the content of the data template cell using the information from the cell style (value, text, behavior etc.).
Declaration
public override void OnInitializeContent(ContentControl uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ContentControl | uiElement | The cell UI element. |
GridRenderStyleInfo | style | The cell style info. |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl>.OnInitializeContent(System.Windows.Controls.ContentControl, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnUnwireUIElement(ContentControl)
Declaration
protected override void OnUnwireUIElement(ContentControl uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ContentControl | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl>.OnUnwireUIElement(System.Windows.Controls.ContentControl)
OnWireUIElement(ContentControl)
Declaration
protected override void OnWireUIElement(ContentControl uiElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ContentControl | uiElement |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl>.OnWireUIElement(System.Windows.Controls.ContentControl)
ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
Implements
System.IDisposable