Class GridCellCheckBoxSelectorRenderer
Represents the class that is used for rendering GridCheckBoxSelectorColumn.
Inheritance
System.Object
GridVirtualizingCellRendererBase<Microsoft.UI.Xaml.Controls.CheckBox, Microsoft.UI.Xaml.Controls.CheckBox>
GridVirtualizingCellRenderer<Microsoft.UI.Xaml.Controls.CheckBox, Microsoft.UI.Xaml.Controls.CheckBox>
GridCellCheckBoxSelectorRenderer
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid.Renderers
Assembly: Syncfusion.Grid.WinUI.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. |
Microsoft.UI.Xaml.RoutedEventArgs | e | The Microsoft.UI.Xaml.RoutedEventArgs instance containing the event data. |
Overrides
Syncfusion.UI.Xaml.DataGrid.Renderers.GridVirtualizingCellRendererBase<Microsoft.UI.Xaml.Controls.CheckBox, Microsoft.UI.Xaml.Controls.CheckBox>.OnEditElementLoaded(System.Object, Microsoft.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. |
Microsoft.UI.Xaml.RoutedEventArgs | e | The Microsoft.UI.Xaml.RoutedEventArgs instance containing the event data. |
Overrides
Syncfusion.UI.Xaml.DataGrid.Renderers.GridVirtualizingCellRendererBase<Microsoft.UI.Xaml.Controls.CheckBox, Microsoft.UI.Xaml.Controls.CheckBox>.OnEditElementUnloaded(System.Object, Microsoft.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. |
Microsoft.UI.Xaml.Controls.CheckBox | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the data context of the cell. |
Overrides
Syncfusion.UI.Xaml.DataGrid.Renderers.GridVirtualizingCellRenderer<Microsoft.UI.Xaml.Controls.CheckBox, Microsoft.UI.Xaml.Controls.CheckBox>.OnInitializeEditElement(Syncfusion.UI.Xaml.DataGrid.DataColumnBase, Microsoft.UI.Xaml.Controls.CheckBox, System.Object)
Remarks
Checkbox is loaded as edit element for GridCheckBoxSelectorColumn.
Implements
System.IDisposable