Class TreeGridCheckBoxColumn
Represents a column that used to display and edit boolean values and hosts CheckBox as its cell content.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridCheckBoxColumn : TreeGridColumn, IDisposable, IFilterDefinition
Constructors
TreeGridCheckBoxColumn()
Initializes a new instance of the TreeGridCheckBoxColumn class.
Declaration
public TreeGridCheckBoxColumn()
Fields
HorizontalAlignmentProperty
Identifies the HorizontalAlignment dependency property.
Declaration
public static readonly DependencyProperty HorizontalAlignmentProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Remarks
The identifier for the HorizontalAlignment dependency property.
IsThreeStateProperty
Identifies the IsThreeState dependency property.
Declaration
public static readonly DependencyProperty IsThreeStateProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Remarks
The identifier for the IsThreeState dependency property.
Properties
HorizontalAlignment
Gets or sets the horizontal alignment for the column .
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.HorizontalAlignment | One of the Microsoft.UI.Xaml.HorizontalAlignment enumeration that specifies the horizontal alignment. The default value is HorizontalAlignment.Stretch |
IsThreeState
Gets or sets a value that indicates whether the user can enable the Intermediate state of the CheckBox other than the Checked and Unchecked state.
Declaration
public bool IsThreeState { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the Intermediate state is enabled in TreeGridCheckBoxColumn; otherwise false. The default value is false. |
Methods
OnCellTemplateChanged(DependencyPropertyChangedEventArgs)
Invoked when the CellTemplate dependency property value changed in the TreeGridCheckBoxColumn.
Declaration
protected override void OnCellTemplateChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.DependencyPropertyChangedEventArgs | e | The Microsoft.UI.Xaml.DependencyPropertyChangedEventArgs that contains data for CellTemplate dependency property changes. |
Overrides
UpdateBindingBasedOnAllowEditing()
Updates the binding for the AllowEdit property changes in the TreeGridCheckBoxColumn.
Declaration
protected override void UpdateBindingBasedOnAllowEditing()