ClassVirtualGridCellElement
Represents a cell element in RadVirtualGrid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualGridCellElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<int>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementVirtualGridCellElement
Derived Classes:
Implements:
Inherited Members
Constructors
VirtualGridCellElement()
Initializes a new instance of the VirtualGridCellElement class.
Declaration
public VirtualGridCellElement()
Fields
IsCurrentColumnProperty
Declaration
public static RadProperty IsCurrentColumnProperty
Field Value
IsCurrentRowProperty
Declaration
public static RadProperty IsCurrentRowProperty
Field Value
Properties
CanEdit
Gets whether the cell can be edited.
Declaration
public virtual bool CanEdit { get; }
Property Value
The can edit.
ColumnIndex
Gets the index of the column.
Declaration
public int ColumnIndex { get; }
Property Value
The index of the column.
Data
Gets the associated data.
Editor
Gets the editor.
Declaration
public virtual IInputEditor Editor { get; }
Property Value
The editor.
FieldName
Gets or sets the name of the field.
Declaration
public string FieldName { get; protected set; }
Property Value
The name of the field.
FormatString
Gets or sets the format string.
Declaration
public string FormatString { get; protected set; }
Property Value
The format string.
IsCurrent
Gets or sets whether the cell is current.
Declaration
public virtual bool IsCurrent { get; set; }
Property Value
The is current.
IsCurrentColumn
Gets or sets whether the column is current.
Declaration
public virtual bool IsCurrentColumn { get; set; }
Property Value
The is current column.
IsCurrentRow
Gets or sets whether the row is current.
Declaration
public virtual bool IsCurrentRow { get; set; }
Property Value
The is current row.
IsOddRow
Gets or sets whether the cell is in an odd row.
Declaration
public virtual bool IsOddRow { get; set; }
Property Value
The is odd row.
IsPinned
Gets or sets a value indicating whether the cell is pinned.
IsSelected
Gets or sets whether the cell is selected.
Declaration
public virtual bool IsSelected { get; set; }
Property Value
The is selected.
IsSorted
Gets or sets whether the cell is sorted.
Declaration
public virtual bool IsSorted { get; set; }
Property Value
The is sorted.
RowElement
Gets the row element.
Declaration
public VirtualGridRowElement RowElement { get; }
Property Value
The row element.
RowIndex
Gets the index of the row.
TableElement
Gets the table element.
Declaration
public VirtualGridTableElement TableElement { get; }
Property Value
The table element.
Value
Gets or sets the value.
Declaration
public object Value { get; protected set; }
Property Value
The value.
ViewInfo
Gets the view info.
Declaration
public VirtualGridViewInfo ViewInfo { get; }
Property Value
The view info.
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public virtual void AddEditor(IInputEditor editor)
Parameters
editor
The editor.
ArrangeEditorElement(SizeF, RectangleF)
Arranges the editor element.
Declaration
protected virtual void ArrangeEditorElement(SizeF finalSize, RectangleF clientRect)
Parameters
finalSize
The final size.
clientRect
The client rect.
ArrangeOverride(SizeF)
Arranges the elements in the final size.
Attach(int, object)
Attaches the specified data.
Attach(int, object, bool)
Attaches the specified data.
Detach()
Detaches the cell element.
Declaration
public virtual void Detach()
Implements
GetEditorElement(IInputEditor)
Gets the editor element associated with this cell element.
Declaration
public RadItem GetEditorElement(IInputEditor editor)
Parameters
editor
The editor which element we search.
Returns
An instance of RadItem that represents the editor element. Null if there is no editor element.
Initialize(VirtualGridTableElement)
Initializes the specified owner.
Declaration
public virtual void Initialize(VirtualGridTableElement owner)
Parameters
owner
The owner.
IsCompatible(int, object)
Determines whether element is compatible with the specified data.
IsInResizeLocation(Point)
Determines whether point is in resize location.
MeasureEditorElement(SizeF, float)
Measures the editor element.
MeasureOverride(SizeF)
Measures the element with the available size.
OnMouseMove(MouseEventArgs)
Raises the event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Overrides
OnRowElementPropertyChanged(PropertyChangedEventArgs)
Raises the event.
Declaration
protected virtual void OnRowElementPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
The PropertyChangedEventArgs instance containing the event data.
PaintElement(IGraphics, float, SizeF)
Paints the element.
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public virtual void RemoveEditor(IInputEditor editor)
Parameters
editor
The editor.
Synchronize()
Synchronizes this instance.
Declaration
public virtual void Synchronize()
Implements
Synchronize(VirtualGridRowElement)
Synchronizes the specified context.
Declaration
public virtual void Synchronize(VirtualGridRowElement context)
Parameters
context
The context.
Synchronize(bool)
Synchronizes the specified update content.
Declaration
public virtual void Synchronize(bool updateContent)
Parameters
updateContent
Content of the update.
UpdateInfo(VirtualGridCellValueNeededEventArgs)
Updates the info.
Declaration
protected virtual void UpdateInfo(VirtualGridCellValueNeededEventArgs args)
Parameters
args
VirtualGridCellValueNeededEventArgs
The VirtualGridCellValueNeededEventArgs instance containing the event data.