Class
DataGridBooleanColumn

A special DataGridTypedColumn implementation that presents boolean data.

Definition

Namespace:Telerik.UI.Xaml.Controls.Grid

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class DataGridBooleanColumn : DataGridTextColumn, IExportableColumn

Inheritance: objectRadDependencyObjectDataGridColumnDataGridTypedColumnDataGridTextColumnDataGridBooleanColumn

Implements: IExportableColumn

Inherited Members DataGridTextColumn.CellContentFormatPropertyDataGridTextColumn.ShowDistinctValuesFilterPropertyDataGridTextColumn.GetContainerType(object)DataGridTextColumn.CreateContainer(object)DataGridTextColumn.GetCellContent(object)DataGridTextColumn.CellContentFormatDataGridTextColumn.ShowDistinctValuesFilterDataGridTypedColumn.PropertyNamePropertyDataGridTypedColumn.CellContentStylePropertyDataGridTypedColumn.CellContentStyleSelectorPropertyDataGridTypedColumn.CellEditorStylePropertyDataGridTypedColumn.GetValueForInstance(object)DataGridTypedColumn.CreateGroupDescriptor()DataGridTypedColumn.CreateSortDescriptor()DataGridTypedColumn.PropertyNameDataGridTypedColumn.CellContentStyleDataGridTypedColumn.CellContentStyleSelectorDataGridTypedColumn.CellEditorStyleDataGridColumn.IsCellFlyoutEnabledPropertyDataGridColumn.CellDecorationStylePropertyDataGridColumn.CellDecorationStyleSelectorPropertyDataGridColumn.WidthPropertyDataGridColumn.SizeModePropertyDataGridColumn.HeaderPropertyDataGridColumn.SortDirectionPropertyDataGridColumn.HeaderStylePropertyDataGridColumn.CanUserGroupPropertyDataGridColumn.CanUserFilterPropertyDataGridColumn.CanUserSortPropertyDataGridColumn.CanUserResizePropertyDataGridColumn.CanUserReorderPropertyDataGridColumn.CanUserEditPropertyDataGridColumn.NamePropertyDataGridColumn.DataOperationsFlyoutTemplatePropertyDataGridColumn.IsVisiblePropertyDataGridColumn.AggregatesTemplatePropertyDataGridColumn.ClearCell(object)DataGridColumn.CreateDecorationContainer(object)DataGridColumn.UpdateFilterVisualState(bool)DataGridColumn.IsCellFlyoutEnabledDataGridColumn.CellDecorationStyleDataGridColumn.CellDecorationStyleSelectorDataGridColumn.AggregatesTemplateDataGridColumn.NameDataGridColumn.CanUserEditDataGridColumn.CanUserResizeDataGridColumn.CanUserFilterDataGridColumn.CanUserReorderDataGridColumn.CanUserGroupDataGridColumn.CanUserSortDataGridColumn.IsVisibleDataGridColumn.HeaderStyleDataGridColumn.SizeModeDataGridColumn.WidthDataGridColumn.ActualWidthDataGridColumn.IsAutoGeneratedDataGridColumn.HeaderDataGridColumn.SortDirectionDataGridColumn.DataOperationsFlyoutTemplate

Constructors

DataGridBooleanColumn()

Initializes a new instance of the DataGridBooleanColumn class.

Declaration

cs-api-definition
public DataGridBooleanColumn()

Properties

SupportsCompositeFilter

When overriden in an inherited column gets a value whether this column shows two filter controls in its filtering flyout.

Declaration

cs-api-definition
protected override bool SupportsCompositeFilter { get; }

Property Value

bool

Overrides DataGridColumn.SupportsCompositeFilter

Methods

ClearEditorContentVisual(FrameworkElement)

Clears all bindings and content set to the CheckBox visualized when entering edit mode.

Declaration

cs-api-definition
public override void ClearEditorContentVisual(FrameworkElement editorContent)

Parameters

editorContent

FrameworkElement

The editor itself.

Overrides DataGridTextColumn.ClearEditorContentVisual(FrameworkElement)

CreateEditorContentVisual()

Creates an instance of a Checkbox used by the column when entering edit mode.

Declaration

cs-api-definition
public override FrameworkElement CreateEditorContentVisual()

Returns

FrameworkElement

An instance of the editor.

Overrides DataGridTextColumn.CreateEditorContentVisual()

CreateFilterControl()

Creates the DataGridBooleanFilterControl instance that allows filtering operation to be applied upon this column.

Declaration

cs-api-definition
protected override DataGridFilterControlBase CreateFilterControl()

Returns

DataGridFilterControlBase

Overrides DataGridTextColumn.CreateFilterControl()

GetEditorType(object)

Gets the type of the editor for the DataGridBooleanColumn that is visualized when entering in edit mode.

Declaration

cs-api-definition
public override object GetEditorType(object item)

Parameters

item

object

Returns

object

The type of the editor.

Overrides DataGridTextColumn.GetEditorType(object)

PrepareCell(object, object, object)

Prepares the UIElement inside which the cell is visualized.

Declaration

cs-api-definition
public override void PrepareCell(object container, object value, object item)

Parameters

container

object

The element inside which the cell is visualized.

value

object

The value of the cell.

item

object

The business object represented in the cell.

Overrides DataGridTextColumn.PrepareCell(object, object, object)

PrepareEditorContentVisual(FrameworkElement, Binding)

Prepares all bindings and content set to the CheckBox visualized when entering edit mode.

Declaration

cs-api-definition
public override void PrepareEditorContentVisual(FrameworkElement editorContent, Binding binding)

Parameters

editorContent

FrameworkElement

The editor itself.

binding

Binding

The binding set to the editor of the cell.

Overrides DataGridTextColumn.PrepareEditorContentVisual(FrameworkElement, Binding)