Inherits GridViewDataColumn and presents Boolean values
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCheckBoxColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IContextMenuProvider, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Inheritance: objectDisposableObjectRadObjectGridViewColumnGridViewDataColumnGridViewCheckBoxColumn...
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewCheckBoxColumn.
public GridViewCheckBoxColumn()
Initializes a new instance of the GridViewCheckBoxColumn.
Initializes a new instance of the GridViewCheckBoxColumn.
public GridViewCheckBoxColumn(string fieldName)
A string value referring to the field name to which the column is bound.
Fields
Identifies the state displayed by the column header checkbox.
public static RadProperty CheckedProperty
Identifies whether the column header displays a checkbox for checking or clearing data rows.
public static RadProperty EnableHeaderCheckBoxProperty
Identifies the content alignment used by the column header checkbox.
public static RadProperty HeaderCheckBoxAlignmentProperty
Identifies the horizontal position of the header checkbox relative to the header text.
public static RadProperty HeaderCheckBoxPositionProperty
Identifies whether the header checkbox synchronizes its state with the data-row checkboxes.
public static RadProperty ShouldCheckDataRowsProperty
Identifies whether the cell and header checkboxes can represent an indeterminate state.
public static RadProperty ThreeStateProperty
Properties
Gets a value indicating whether the CheckBox in header cell checked.
public ToggleState Checked { get; set; }
Gets or sets a value indicating if the hidden rows will be checked by the header check-box.
[Browsable(true)]
public bool CheckFilteredRows { get; set; }
Gets or sets the data type of the column.
public override Type DataType { get; set; }
Overrides:
This property determines whether changing a value of a check box will immediately be send to the cell (OnValueChange) or when the current cell is changed or the grid is being validated (OnCellChangeOrValidating)
public EditMode EditMode { get; set; }
Gets or sets a value indicating whether to show embedded CheckBox in header cell.
public bool EnableHeaderCheckBox { get; set; }
Gets or sets a value indicating the alignment of the check box.
public ContentAlignment HeaderCheckBoxAlignment { get; set; }
Gets or sets a value indicating the position of the CheckBoxElement along with the text.
[Browsable(true)]
public HorizontalAlignment HeaderCheckBoxPosition { get; set; }
Gets or sets a value indicating whether to use a three state checkbox.
[Browsable(true)]
public bool ThreeState { get; set; }
Methods
Gets the type of the cell.
public override Type GetCellType(GridViewRowInfo row)
The row.
Returns:Overrides:
Gets the default MinWidth of GridViewCheckBoxColumn (defaults to 20)
public override void InitializeEditor(IInputEditor editor)
Overrides: