Class GridCheckBoxCellElement
Displays a cell with a checkbox inside, used with GridViewBooleanColumn
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridCheckBoxCellElement : GridDataCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewColumn>, IEditableCell, IDataConversionInfoProvider, ITypeDescriptorContext, IServiceProvider
Constructors
GridCheckBoxCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridCheckBoxCellElement class.
Declaration
public GridCheckBoxCellElement(GridViewColumn column, GridRowElement row)
Parameters
GridViewColumn
column
An instance of the GridViewColumn |
GridRowElement
row
An instance of the GridRowElement |
Properties
Editor
Gets the editor.
Declaration
public override IInputEditor Editor { get; }
Property Value
IInputEditor
The editor. |
Overrides
ToolTipText
Gets or sets the tool tip text.
Declaration
public override string ToolTipText { get; set; }
Property Value
System.String
The tool tip text. |
Overrides
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public override void AddEditor(IInputEditor editor)
Parameters
IInputEditor
editor
The editor. |
Overrides
Attach(GridViewColumn, Object)
Attaches the specified data.
Declaration
public override void Attach(GridViewColumn data, object context)
Parameters
GridViewColumn
data
The data. |
System.Object
context
The context. |
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
editor_ValueChanged(Object, EventArgs)
Declaration
protected virtual void editor_ValueChanged(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
Initialize(GridViewColumn, GridRowElement)
Initializes the cell with specified column and row
Declaration
public override void Initialize(GridViewColumn column, GridRowElement row)
Parameters
GridViewColumn
column
An instance of GridViewColumn. |
GridRowElement
row
An instance of GridRowElement. |
Overrides
IsCompatible(GridViewColumn, Object)
Determines whether element is compatible with the specified data.
Declaration
public override bool IsCompatible(GridViewColumn data, object context)
Parameters
GridViewColumn
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Overrides
OnColumnPropertyChanged(RadPropertyChangedEventArgs)
Occurs when some column property changes its value.
Declaration
protected override void OnColumnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
An instance of RadPropertyChangedEventArgs |
Overrides
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public override void RemoveEditor(IInputEditor editor)
Parameters
IInputEditor
editor
The editor. |
Overrides
SetContentCore(Object)
Sets the actual text of the cell.
Declaration
protected override void SetContentCore(object value)
Parameters
System.Object
value
|