Class VirtualGridRowElement
Represents the row element of RadVirtualGrid.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualGridRowElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<int>
Constructors
VirtualGridRowElement()
Initializes a new instance of the VirtualGridRowElement class.
Declaration
public VirtualGridRowElement()
Fields
ContainsCurrentCellProperty
ContainsSelectedCellsProperty
HotTrackingProperty
IsCurrentProperty
IsInEditModeProperty
IsOddProperty
IsSelectedProperty
Properties
CanApplyAlternatingColor
Gets whether the alternating color can be applied.
Declaration
public virtual bool CanApplyAlternatingColor { get; }
Property Value
System.Boolean
The color of the can apply alternating. |
CellContainer
Gets the cell container.
Declaration
public ScrollableVirtualCellsContainer CellContainer { get; }
Property Value
ScrollableVirtualCellsContainer
The cell container. |
ContainsCurrentCell
Gets or sets whether the row element contains the current cell.
Declaration
public virtual bool ContainsCurrentCell { get; set; }
Property Value
System.Boolean
The contains current cell. |
ContainsSelectedCells
Gets or sets the contains selected cells.
Declaration
public virtual bool ContainsSelectedCells { get; set; }
Property Value
System.Boolean
The contains selected cells. |
Data
Gets the associated data.
Declaration
public int Data { get; }
Property Value
System.Int32
The data. |
Implements
DetailsElement
Gets the details element.
Declaration
public VirtualGridDetailViewCellElement DetailsElement { get; }
Property Value
VirtualGridDetailViewCellElement
The details element. |
HasChildRows
Gets whether the row element has child rows.
Declaration
public bool HasChildRows { get; }
Property Value
System.Boolean
The has child rows. |
HotTracking
Gets or sets whether the hot tracking is enabled for this row element.
Declaration
public virtual bool HotTracking { get; set; }
Property Value
System.Boolean
The hot tracking. |
IsChildViewInitialized
Gets if the child view is initialized.
Declaration
public bool IsChildViewInitialized { get; }
Property Value
System.Boolean
The is child view initialized. |
IsChildViewVisible
Gets if the child view is visible.
Declaration
public bool IsChildViewVisible { get; }
Property Value
System.Boolean
The is child view visible. |
IsCurrent
Gets or sets if the row element is current.
Declaration
public virtual bool IsCurrent { get; set; }
Property Value
System.Boolean
The is current. |
IsInEditMode
Gets or sets whether the row is in edit mode.
Declaration
public bool IsInEditMode { get; set; }
Property Value
System.Boolean
The is in edit mode. |
IsOdd
Gets or sets if the row element is odd.
Declaration
public virtual bool IsOdd { get; set; }
Property Value
System.Boolean
The is odd. |
IsSelected
Gets or sets whether the row element is selected.
Declaration
public virtual bool IsSelected { get; set; }
Property Value
System.Boolean
The is selected. |
LeftPinnedCellContainer
Gets the left pinned cell container.
Declaration
public StackLayoutElement LeftPinnedCellContainer { get; }
Property Value
StackLayoutElement
The left pinned cell container. |
RightPinnedCellContainer
Gets the right pinned cell container.
Declaration
public StackLayoutElement RightPinnedCellContainer { get; }
Property Value
StackLayoutElement
The right pinned cell container. |
RowIndex
Gets the index of the row.
Declaration
public int RowIndex { get; }
Property Value
System.Int32
The index of the row. |
TableElement
Gets the table element.
Declaration
public VirtualGridTableElement TableElement { get; }
Property Value
VirtualGridTableElement
The table element. |
ViewInfo
Gets the view info.
Declaration
public VirtualGridViewInfo ViewInfo { get; }
Property Value
VirtualGridViewInfo
The view info. |
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
The size that is available for element. |
Returns
System.Drawing.SizeF
The rectangle occupied by the element. Usually |
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
Attach(Int32, Object)
Attaches the specified data.
Declaration
public virtual void Attach(int data, object context)
Parameters
System.Int32
data
The data. |
System.Object
context
The context. |
Implements
CreateDetailViewCellElementContainer()
Creates the detail view cell element container.
Declaration
protected virtual VirtualGridDetailViewCellElement CreateDetailViewCellElementContainer()
Returns
VirtualGridDetailViewCellElement
|
CreateLeftPinnedColumnsContainer()
Creates the left pinned columns container.
Declaration
protected virtual StackLayoutElement CreateLeftPinnedColumnsContainer()
Returns
StackLayoutElement
|
CreateRightPinnedColumnsContainer()
Creates the right pinned columns container.
Declaration
protected virtual StackLayoutElement CreateRightPinnedColumnsContainer()
Returns
StackLayoutElement
|
CreateScrollableColumnsContainer()
Creates the scrollable columns container.
Declaration
protected virtual ScrollableVirtualCellsContainer CreateScrollableColumnsContainer()
Returns
ScrollableVirtualCellsContainer
|
Detach()
Detaches the row element.
Declaration
public virtual void Detach()
Implements
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetCellElements()
Gets the cell elements.
Declaration
public IEnumerable<VirtualGridCellElement> GetCellElements()
Returns
System.Collections.Generic.IEnumerable<VirtualGridCellElement>
|
Initialize(VirtualGridTableElement)
Initializes the specified table element.
Declaration
public virtual void Initialize(VirtualGridTableElement tableElement)
Parameters
VirtualGridTableElement
tableElement
The table element. |
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
InvalidatePinnedColumns()
Invalidates the pinned columns.
Declaration
public void InvalidatePinnedColumns()
IsCompatible(Int32, Object)
Determines whether element is compatible with the specified data.
Declaration
public virtual bool IsCompatible(int data, object context)
Parameters
System.Int32
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Implements
MeasureElements(SizeF, SizeF, Padding)
Measures the elements.
Declaration
protected override SizeF MeasureElements(SizeF availableSize, SizeF clientSize, Padding borderThickness)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
System.Drawing.SizeF
clientSize
Size of the client. |
System.Windows.Forms.Padding
borderThickness
The border thickness. |
Returns
System.Drawing.SizeF
|
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element) |
Returns
System.Drawing.SizeF
The minimum size required by the element to be completely visible. Cannot be infinity. |
Overrides
Remarks
In this method call to the Measure method of each child must be made.
MeasureRowHeight(SizeF)
Measures the height of the row.
Declaration
protected virtual int MeasureRowHeight(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Int32
|
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
Declaration
protected override void OnMouseMove(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
PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
Declaration
protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Drawing.Rectangle
clipRectange
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
Synchronize()
Synchronizes the row element.
Declaration
public virtual void Synchronize()
Implements
Synchronize(Boolean)
Synchronizes the specified update content.
Declaration
public virtual void Synchronize(bool updateContent)
Parameters
System.Boolean
updateContent
Content of the update. |
SynchronizeCells()
Synchronizes the cells.
Declaration
public virtual void SynchronizeCells()
SynchronizeCells(Boolean)
Synchronizes the cells.
Declaration
public virtual void SynchronizeCells(bool updateContent)
Parameters
System.Boolean
updateContent
Content of the update. |
SynchronizeIndentCell()
Synchronizes the indent cell.
Declaration
public virtual void SynchronizeIndentCell()