Class GridVirtualizedCellElement
Represents a basic virtualized cell element
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridVirtualizedCellElement : GridCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewColumn>
Constructors
GridVirtualizedCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridVirtualizedCellElement class.
Declaration
public GridVirtualizedCellElement(GridViewColumn column, GridRowElement row)
Parameters
GridViewColumn
column
The column. |
GridRowElement
row
The row. |
Properties
AllowRowReorder
Gets or set a value that determine that this cell can start row reordering
Declaration
protected bool AllowRowReorder { get; set; }
Property Value
System.Boolean
|
Data
Gets the associated column.
Declaration
public GridViewColumn Data { get; }
Property Value
GridViewColumn
The data. |
Implements
Methods
Attach(GridViewColumn, Object)
Attaches the specified data.
Declaration
public virtual void Attach(GridViewColumn data, object context)
Parameters
GridViewColumn
data
The data. |
System.Object
context
The context. |
Implements
BindColumnProperties()
Binds the column properties.
Declaration
protected virtual void BindColumnProperties()
BindRowProperties()
Binds the row properties.
Declaration
protected virtual void BindRowProperties()
Detach()
Detaches this instance.
Declaration
public virtual void Detach()
Implements
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
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 virtual bool IsCompatible(GridViewColumn data, object context)
Parameters
GridViewColumn
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Implements
OnColumnPropertyChanged(RadPropertyChangedEventArgs)
Occurs when some column property changes its value.
Declaration
protected virtual void OnColumnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
An instance of RadPropertyChangedEventArgs |
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnRowPropertyChanged(PropertyChangedEventArgs)
Occurs when some row property changes its value.
Declaration
protected virtual void OnRowPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
An instance of RadPropertyChangedEventArgs |
Synchronize()
Synchronizes this instance.
Declaration
public void Synchronize()
Implements
UnbindColumnProperties()
Unbinds the column properties.
Declaration
protected virtual void UnbindColumnProperties()
UnbindRowProperties()
Unbinds the row properties.
Declaration
protected virtual void UnbindRowProperties()
UpdateInfoCore()
Updates the visual state of the cell.
Declaration
protected override void UpdateInfoCore()