Class GridViewCheckBoxColumn
Inherits GridViewDataColumn and presents Boolean values
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewCheckBoxColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Constructors
GridViewCheckBoxColumn()
Initializes a new instance of the GridViewCheckBoxColumn.
Declaration
public GridViewCheckBoxColumn()
See Also
GridViewCheckBoxColumn(String)
Initializes a new instance of the GridViewComboBoxColumn.
Declaration
public GridViewCheckBoxColumn(string fieldName)
Parameters
System.String
fieldName
A string value referring to the field name to which the column is bound. |
See Also
GridViewCheckBoxColumn(String, String)
Initializes a new instance of the GridViewComboBoxColumn.
Declaration
public GridViewCheckBoxColumn(string uniqueName, string fieldName)
Parameters
System.String
uniqueName
A string value referring to the unique name of the column. |
System.String
fieldName
A string value referring to the field name to which the column is bound. |
Fields
CheckedProperty
EnableHeaderCheckBoxProperty
HeaderCheckBoxAlignmentProperty
HeaderCheckBoxPositionProperty
ShouldCheckDataRowsProperty
ThreeStateProperty
Properties
Checked
Gets a value indicating whether the CheckBox in header cell checked.
Declaration
public ToggleState Checked { get; set; }
Property Value
ToggleState
|
CheckFilteredRows
Gets or sets a value indicating if the hidden rows will be checked by the header check-box.
Declaration
public bool CheckFilteredRows { get; set; }
Property Value
System.Boolean
|
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
System.Type
|
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)
Declaration
public EditMode EditMode { get; set; }
Property Value
EditMode
|
EnableHeaderCheckBox
Gets or sets a value indicating whether to show embedded CheckBox in header cell.
Declaration
public bool EnableHeaderCheckBox { get; set; }
Property Value
System.Boolean
|
HeaderCheckBoxAlignment
Gets or sets a value indicating the alignment of the check box.
Declaration
[RadPropertyDefaultValue("CheckAlignment", typeof(RadCheckBoxElement))]
public ContentAlignment HeaderCheckBoxAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
HeaderCheckBoxPosition
Gets or sets a value indicating the position of the CheckBoxElement along with the text.
Declaration
public HorizontalAlignment HeaderCheckBoxPosition { get; set; }
Property Value
System.Windows.Forms.HorizontalAlignment
|
ShouldCheckDataRows
This property determines whether the CheckBox in the header cell will be synced with the data cells.
Declaration
public bool ShouldCheckDataRows { get; set; }
Property Value
System.Boolean
|
ThreeState
Gets or sets a value indicating whether to use a three state checkbox.
Declaration
public bool ThreeState { get; set; }
Property Value
System.Boolean
|
Methods
GetCellType(GridViewRowInfo)
Gets the type of the cell.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
GridViewRowInfo
row
The row. |
Returns
System.Type
|
Overrides
GetDefaultEditor()
GetDefaultEditorType()
Declaration
public override Type GetDefaultEditorType()
Returns
System.Type
|
Overrides
GetDefaultMinWidth()
Gets the default MinWidth of GridViewCheckBoxColumn (defaults to 20)
Declaration
protected override int GetDefaultMinWidth()
Returns
System.Int32
|
Overrides
InitializeEditor(IInputEditor)
Declaration
public override void InitializeEditor(IInputEditor editor)
Parameters
IInputEditor
editor
|