Class GridUnboundRowCellTemplateRenderer
Class that deals with UnboundRow cell tempate.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid.Renderers
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridUnboundRowCellTemplateRenderer : GridUnboundRowCellRenderer<ContentControl, ContentControl>, IGridCellRenderer, IDisposableConstructors
GridUnboundRowCellTemplateRenderer()
Declaration
public GridUnboundRowCellTemplateRenderer()Methods
GetControlValue()
Gets the control value of the cell.
Declaration
public override object GetControlValue()Returns
| Type | Description | 
|---|---|
| System.Object | Returns the control value of the cell. | 
Overrides
OnArrange(RowColumnIndex, FrameworkElement, Rect)
Invoked when the visual children of cell is arranged in view.
Declaration
protected override void OnArrange(RowColumnIndex cellRowColumnIndex, FrameworkElement uiElement, Rect cellRect)Parameters
| Type | Name | Description | 
|---|---|---|
| RowColumnIndex | cellRowColumnIndex | The corresponding row and column index of the cell. | 
| Microsoft.UI.Xaml.FrameworkElement | uiElement | The corresponding UiElement that is to be arranged. | 
| Windows.Foundation.Rect | cellRect | The corresponding size of cell element for arranging the UIElement. | 
Overrides
OnEditingComplete(DataColumnBase, FrameworkElement)
Invoked when the editing is completed on the cell.
Declaration
protected override void OnEditingComplete(DataColumnBase dataColumn, FrameworkElement currentRendererElement)Parameters
| Type | Name | Description | 
|---|---|---|
| DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. | 
| Microsoft.UI.Xaml.FrameworkElement | currentRendererElement | Specifies the current renderer element. | 
Overrides
OnInitializeDisplayElement(DataColumnBase, ContentControl, Object)
Initializes the display element of the cell in column.
Declaration
public override void OnInitializeDisplayElement(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)Parameters
| Type | Name | Description | 
|---|---|---|
| DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. | 
| Microsoft.UI.Xaml.Controls.ContentControl | uiElement | Specifies the corresponding UIElement. | 
| System.Object | dataContext | Specifies the dataContext of the cell. | 
Overrides
OnInitializeEditElement(DataColumnBase, ContentControl, Object)
Method which initialize the element with respect to corresponding UnBound value.
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)Parameters
| Type | Name | Description | 
|---|---|---|
| DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. | 
| Microsoft.UI.Xaml.Controls.ContentControl | uiElement | Specifies the corresponding renderer element. | 
| System.Object | dataContext | Specifies the data context of the particular row | 
Overrides
SetControlValue(Object)
Sets the control value of the cell.
Declaration
public override void SetControlValue(object value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | Specifies the value to set the control value of the cell. | 
Overrides
ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)
Handles the key interaction with editor of column.
Declaration
protected override bool ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.UI.Xaml.Input.KeyRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.KeyRoutedEventArgs instance containing the event data. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | True if the parent grid should be allowed to handle keys; otherwise false. |