ClassGridViewCheckBoxColumn
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
GridViewCheckBoxColumn()
Initializes a new instance of the GridViewCheckBoxColumn.
Declaration
public GridViewCheckBoxColumn()
GridViewCheckBoxColumn(string)
Initializes a new instance of the GridViewComboBoxColumn.
Declaration
public GridViewCheckBoxColumn(string fieldName)
Parameters
fieldName
A string value referring to the field name to which the column is bound.
GridViewCheckBoxColumn(string, string)
Initializes a new instance of the GridViewComboBoxColumn.
Fields
EnableHeaderCheckBoxProperty
Declaration
public static RadProperty EnableHeaderCheckBoxProperty
Field Value
HeaderCheckBoxAlignmentProperty
Declaration
public static RadProperty HeaderCheckBoxAlignmentProperty
Field Value
HeaderCheckBoxPositionProperty
Declaration
public static RadProperty HeaderCheckBoxPositionProperty
Field Value
ShouldCheckDataRowsProperty
Declaration
public static RadProperty ShouldCheckDataRowsProperty
Field Value
Properties
CheckFilteredRows
Gets or sets a value indicating if the hidden rows will be checked by the header check-box.
Declaration
[Browsable(true)]
public bool CheckFilteredRows { get; set; }
Property Value
Checked
Gets a value indicating whether the CheckBox in header cell checked.
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
Overrides
EditMode
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)
EnableHeaderCheckBox
Gets or sets a value indicating whether to show embedded CheckBox in header cell.
HeaderCheckBoxAlignment
Gets or sets a value indicating the alignment of the check box.
Declaration
public ContentAlignment HeaderCheckBoxAlignment { get; set; }
Property Value
HeaderCheckBoxPosition
Gets or sets a value indicating the position of the CheckBoxElement along with the text.
Declaration
[Browsable(true)]
public HorizontalAlignment HeaderCheckBoxPosition { get; set; }
Property Value
ThreeState
Gets or sets a value indicating whether to use a three state checkbox.
Declaration
[Browsable(true)]
public bool ThreeState { get; set; }
Property Value
Methods
GetCellType(GridViewRowInfo)
Gets the type of the cell.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
row
The row.
Returns
Overrides
GetDefaultEditor()
Declaration
public override IInputEditor GetDefaultEditor()
Returns
Overrides
GetDefaultMinWidth()
Gets the default MinWidth of GridViewCheckBoxColumn (defaults to 20)
InitializeEditor(IInputEditor)
Declaration
public override void InitializeEditor(IInputEditor editor)
Parameters
editor
Overrides