Class GridCellCheckBoxSelectorRenderer
Represents the class that is used for rendering GridCheckBoxSelectorColumn.
Inheritance
System.Object
GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.CheckBox, Windows.UI.Xaml.Controls.CheckBox>
GridCellCheckBoxSelectorRenderer
Inherited Members
GridCellRendererBase.RaiseCurrentCellValidatingEvent(SfDataGrid, GridColumn, Object, Object, Object)
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridCellCheckBoxSelectorRenderer : GridVirtualizingCellRenderer<CheckBox, CheckBox>, IGridCellRenderer, IDisposable
Constructors
GridCellCheckBoxSelectorRenderer()
Initializes a new instance of the GridCellCheckBoxSelectorRenderer class.
Declaration
public GridCellCheckBoxSelectorRenderer()
Methods
OnEditElementLoaded(Object, RoutedEventArgs)
Invoked when the edit element(CheckBox) is loaded on the cell in column.
Declaration
protected override void OnEditElementLoaded(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
Windows.UI.Xaml.RoutedEventArgs | e | The Windows.UI.Xaml.RoutedEventArgs instance containing the event data. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.CheckBox, Windows.UI.Xaml.Controls.CheckBox>.OnEditElementLoaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)
OnEditElementUnloaded(Object, RoutedEventArgs)
Invoked when the edit element(CheckBox) is unloaded on the cell in column.
Declaration
protected override void OnEditElementUnloaded(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
Windows.UI.Xaml.RoutedEventArgs | e | The Windows.UI.Xaml.RoutedEventArgs instance containing the event data. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.CheckBox, Windows.UI.Xaml.Controls.CheckBox>.OnEditElementUnloaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)
OnInitializeEditElement(DataColumnBase, CheckBox, Object)
Method which is used to initialize the renderer element bindings with corresponding column values.
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, CheckBox uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the DataColumnBase. |
Windows.UI.Xaml.Controls.CheckBox | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the data context of the cell. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.CheckBox, Windows.UI.Xaml.Controls.CheckBox>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.CheckBox, System.Object)
Remarks
Checkbox is loaded as edit element for GridCheckBoxSelectorColumn.
Implements
System.IDisposable