ClassGridViewCheckBoxColumn
GridViewCheckBoxColumn is a column is used to bind to boolean data.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewCheckBoxColumn : GridViewBoundColumnBase, INotifyPropertyChanged, IDataFieldDescriptor, IFieldDescriptor, IExportableColumn
Inheritance: objectGridViewColumnGridViewBoundColumnBaseGridViewCheckBoxColumn
Implements:
Inherited Members
Constructors
GridViewCheckBoxColumn()
Initializes a new instance of the GridViewCheckBoxColumn class.
Declaration
public GridViewCheckBoxColumn()
Fields
AutoSelectOnEditProperty
Identifies the AutoSelectOnEdit dependency property.
Declaration
public static readonly DependencyProperty AutoSelectOnEditProperty
Field Value
DependencyProperty
IsThreeStateProperty
Dependency Property for IsThreeState Property.
Declaration
public static readonly DependencyProperty IsThreeStateProperty
Field Value
DependencyProperty
Properties
AutoSelectOnEdit
Enable or disable automatic select, deselect on editing the cell.
Declaration
public bool AutoSelectOnEdit { get; set; }
Property Value
The data template.
IsThreeState
Gets or sets a value indicating whether the column support three state.
Declaration
public bool IsThreeState { get; set; }
Property Value
true if column supports three state; otherwise, false.
Methods
CreateCellEditElement(GridViewCell, object)
Creates the element for the cell in edit mode.
Declaration
public override FrameworkElement CreateCellEditElement(GridViewCell cell, object dataItem)
Parameters
cell
dataItem
Returns
FrameworkElement
Overrides
CreateCellElement(GridViewCell, object)
Creates the element for the cell in view mode.
Declaration
public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
Parameters
cell
dataItem
Returns
FrameworkElement
Overrides
PrepareCellForEdit(FrameworkElement, RoutedEventArgs)
Prepares GridViewCell for edit.
Declaration
protected override object PrepareCellForEdit(FrameworkElement editingElement, RoutedEventArgs editingEventArgs)
Parameters
editingElement
FrameworkElement
The editing element.
editingEventArgs
RoutedEventArgs
The RoutedEventArgs instance containing the event data.
Returns
Overrides