Class GridCellCheckBoxSelectorRenderer
Represents the class that is used for rendering GridCheckBoxSelectorColumn.
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.CheckBox, System.Windows.Controls.CheckBox>
GridCellCheckBoxSelectorRenderer
Inherited Members
GridCellRendererBase.RaiseCurrentCellValidatingEvent(SfDataGrid, GridColumn, Object, Object, Object)
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.WPF.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. |
System.Windows.RoutedEventArgs | e | The System.Windows.RoutedEventArgs instance containing the event data. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<System.Windows.Controls.CheckBox, System.Windows.Controls.CheckBox>.OnEditElementLoaded(System.Object, System.Windows.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. |
System.Windows.RoutedEventArgs | e | The System.Windows.RoutedEventArgs instance containing the event data. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<System.Windows.Controls.CheckBox, System.Windows.Controls.CheckBox>.OnEditElementUnloaded(System.Object, System.Windows.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. |
System.Windows.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<System.Windows.Controls.CheckBox, System.Windows.Controls.CheckBox>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, System.Windows.Controls.CheckBox, System.Object)
Remarks
Checkbox is loaded as edit element for GridCheckBoxSelectorColumn.
Implements
System.IDisposable