Class GridCellDataBoundTemplateRenderer
A renderer that manages a DataTemplate specified with
of the GridRenderStyleInfo inside cells. The System.Windows.Controls.ContentControl.Content
will be the which binds the DataTemplate to the value
of the style.
Inheritance
System.Object
GridCellDataBoundTemplateRenderer
Implements
System.IDisposable
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellDataBoundTemplateRenderer : GridVirtualizingCellRenderer<GridCell>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellDataBoundTemplateRenderer()
Declaration
public GridCellDataBoundTemplateRenderer()
Properties
AllowInvalidateMeasureChildren
When it is true, the children are arranged with desired size.
Declaration
public bool AllowInvalidateMeasureChildren { get; set; }
Property Value
AllowRecycleWrapper
Declaration
public bool AllowRecycleWrapper { get; set; }
Property Value
ListenToSelectorChanged
Gets or sets a value that indicates whether to listen to the selector-changed event.
Declaration
public bool ListenToSelectorChanged { get; set; }
Property Value
TableModel
Declaration
protected GridDataTableModel TableModel { get; }
Property Value
Methods
ArrangeUIElement(ArrangeCellArgs, GridCell, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, GridCell uiElement, GridRenderStyleInfo style)
Parameters
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Controls.Grid.GridCell>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, Syncfusion.Windows.Controls.Grid.GridCell, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
CreateDataWrapperInstance()
Declaration
public virtual GridDataCellBoundWrapper CreateDataWrapperInstance()
Returns
CreateRendererElement(GridCell, GridRenderStyleInfo)
Declaration
public override void CreateRendererElement(GridCell uiElement, GridRenderStyleInfo style)
Parameters
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.CreateRendererElement(Syncfusion.Windows.Controls.Grid.GridCell, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
CreateWrapperInstance()
Declaration
public virtual GridCellBoundWrapper CreateWrapperInstance()
Returns
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<Syncfusion.Windows.Controls.Grid.GridCell>.Dispose(System.Boolean)
GetControlTextFromEditorCore(GridCell)
Declaration
protected override string GetControlTextFromEditorCore(GridCell uiElement)
Parameters
Type |
Name |
Description |
GridCell |
uiElement |
|
Returns
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.GetControlTextFromEditorCore(Syncfusion.Windows.Controls.Grid.GridCell)
GetControlValueFromEditor()
Declaration
protected override object GetControlValueFromEditor()
Returns
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.GetControlValueFromEditor()
GetControlValueFromEditorCore(GridCell)
Declaration
protected override object GetControlValueFromEditorCore(GridCell uiElement)
Parameters
Type |
Name |
Description |
GridCell |
uiElement |
|
Returns
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.GetControlValueFromEditorCore(Syncfusion.Windows.Controls.Grid.GridCell)
OnActivated()
Declaration
protected override void OnActivated()
Overrides
OnDeactivated()
Declaration
protected override void OnDeactivated()
Overrides
OnEditingComplete()
Declaration
protected override void OnEditingComplete()
Overrides
OnEnteredEditMode()
Declaration
protected override void OnEnteredEditMode()
Overrides
OnGridPreviewTextInput(TextCompositionEventArgs)
Declaration
protected override void OnGridPreviewTextInput(TextCompositionEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.TextCompositionEventArgs |
e |
|
Overrides
OnInitialize()
Declaration
protected override void OnInitialize()
Overrides
OnInitializeContent(GridCell, GridRenderStyleInfo)
Initializes the content of the data bound template cell
using the information from the cell style (value, text,
behavior etc.).
Declaration
public override void OnInitializeContent(GridCell uiElement, GridRenderStyleInfo style)
Parameters
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.OnInitializeContent(Syncfusion.Windows.Controls.Grid.GridCell, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnResetFocus()
Declaration
protected override void OnResetFocus()
Overrides
OnSetFocus()
Declaration
protected override void OnSetFocus()
Overrides
OnUnwireUIElement(GridCell)
Declaration
protected override void OnUnwireUIElement(GridCell uiElement)
Parameters
Type |
Name |
Description |
GridCell |
uiElement |
|
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.OnUnwireUIElement(Syncfusion.Windows.Controls.Grid.GridCell)
OnWireUIElement(GridCell)
Declaration
protected override void OnWireUIElement(GridCell uiElement)
Parameters
Type |
Name |
Description |
GridCell |
uiElement |
|
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.OnWireUIElement(Syncfusion.Windows.Controls.Grid.GridCell)
ProvideDataWrapperInstance(GridDataCellBoundWrapper, GridRenderStyleInfo)
Declaration
public void ProvideDataWrapperInstance(GridDataCellBoundWrapper wrapperInstance, GridRenderStyleInfo style)
Parameters
ProvideWrapperInstance(GridCellBoundWrapper, GridRenderStyleInfo)
Declaration
public virtual void ProvideWrapperInstance(GridCellBoundWrapper wrapperInstance, GridRenderStyleInfo style)
Parameters
Declaration
public override void RaiseGridCellClick(int rowIndex, int colIndex, MouseControllerEventArgs e)
Parameters
Overrides
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
|
Returns
Overrides
wrapperInstance_ValueChanged(Object, GridDataValueEventArgs<Object>)
Declaration
public virtual void wrapperInstance_ValueChanged(object sender, GridDataValueEventArgs<object> e)
Parameters
Implements
System.IDisposable