Class GridCheckBoxSelectorColumn
Represents the column which is used to select/deselect rows based on the checkbox value which is not bound with data object
Inheritance
System.Object
GridCheckBoxSelectorColumn
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridCheckBoxSelectorColumn : GridTemplateColumn, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition
Examples
<syncfusion:SfDataGrid x:Name="dataGrid" AutoGenerateColumns="False" ItemsSource="{Binding Orders}" >
<syncfusion:SfDataGrid.Columns>
<syncfusion:GridCheckBoxSelectorColumn MappingName="SelectorColumn" Width="30" />
<syncfusion:GridNumericColumn MappingName="ID" />
<syncfusion:GridTextColumn MappingName="Model" />
<syncfusion:GridTextColumn MappingName="Brand" />
<syncfusion:GridTextColumn MappingName="Type" />
</syncfusion:SfDataGrid.Columns>
</syncfusion:SfDataGrid>
Constructors
GridCheckBoxSelectorColumn()
Initializes a new instance of the GridCheckBoxSelectorColumn class.
Declaration
public GridCheckBoxSelectorColumn()
Fields
AllowCheckBoxOnHeaderProperty
Identifies the AllowCheckBoxOnHeader dependency property.
Declaration
public static readonly DependencyProperty AllowCheckBoxOnHeaderProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Remarks
The identifier for the AllowCheckBoxOnHeader dependency property.
Properties
AllowCheckBoxOnHeader
Gets or sets a value that indicates whether the checkbox can be enabled on header of selector column.
Declaration
public bool AllowCheckBoxOnHeader { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the checkbox should be displayed in header of GridCheckBoxSelectorColumn; otherwise false. The default value is true. |
Methods
Dispose(Boolean)
Releases all resources used by the GridSelectorColumn
Declaration
protected override void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
Overrides
Implements
System.IDisposable