Class GridCellDataBoundTemplateRenderer
A renderer that manages a DataTemplate specified with
Inheritance
System.Object
GridCellDataBoundTemplateRenderer
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellDataBoundTemplateRenderer : GridVirtualizingCellRenderer<GridCell>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellDataBoundTemplateRenderer()
Initializes a new 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
Type |
---|
System.Boolean |
AllowRecycleWrapper
Declaration
public bool AllowRecycleWrapper { get; set; }
Property Value
Type |
---|
System.Boolean |
ListenToSelectorChanged
Gets or sets a value that indicates whether to listen to the selector-changed event.
Declaration
public bool ListenToSelectorChanged { get; set; }
Property Value
Type |
---|
System.Boolean |
TableModel
Declaration
protected GridDataTableModel TableModel { get; }
Property Value
Type |
---|
GridDataTableModel |
Methods
ArrangeUIElement(ArrangeCellArgs, GridCell, GridRenderStyleInfo)
Declaration
protected override void ArrangeUIElement(ArrangeCellArgs aca, GridCell uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ArrangeCellArgs | aca | |
GridCell | uiElement | |
GridRenderStyleInfo | style |
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
Type | Name | Description |
---|---|---|
GridCell | uiElement | |
GridRenderStyleInfo | style |
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
Type |
---|
GridCellBoundWrapper |
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
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<Syncfusion.Windows.Controls.Grid.GridCell>.GetControlTextFromEditorCore(Syncfusion.Windows.Controls.Grid.GridCell)
GetControlValueFromEditor()
Declaration
protected override object GetControlValueFromEditor()
Returns
Type |
---|
System.Object |
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
Type |
---|
System.Object |
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
Type | Name | Description |
---|---|---|
GridCell | uiElement | The cell UI element. |
GridRenderStyleInfo | style | The cell style info. |
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
Type | Name | Description |
---|---|---|
GridDataCellBoundWrapper | wrapperInstance | |
GridRenderStyleInfo | style |
ProvideWrapperInstance(GridCellBoundWrapper, GridRenderStyleInfo)
Declaration
public virtual void ProvideWrapperInstance(GridCellBoundWrapper wrapperInstance, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridCellBoundWrapper | wrapperInstance | |
GridRenderStyleInfo | style |
RaiseGridCellClick(Int32, Int32, MouseControllerEventArgs)
Declaration
public override void RaiseGridCellClick(int rowIndex, int colIndex, MouseControllerEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | |
System.Int32 | colIndex | |
MouseControllerEventArgs | e |
Overrides
ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Returns
Type |
---|
System.Boolean |
Overrides
wrapperInstance_ValueChanged(Object, GridDataValueEventArgs<Object>)
Declaration
public virtual void wrapperInstance_ValueChanged(object sender, GridDataValueEventArgs<object> e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
GridDataValueEventArgs<System.Object> | e |
Implements
System.IDisposable