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 Virtual
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. The color of the can apply alternating. |
CellContainer
Gets the cell container.
Declaration
public ScrollableVirtualCellsContainer CellContainer { get; }
Property Value
Scrollable 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. The contains current cell. |
ContainsSelectedCells
Gets or sets the contains selected cells.
Declaration
public virtual bool ContainsSelectedCells { get; set; }
Property Value
System. The contains selected cells. |
Data
Gets the associated data.
Declaration
public int Data { get; }
Property Value
System. The data. |
Implements
DetailsElement
Gets the details element.
Declaration
public VirtualGridDetailViewCellElement DetailsElement { get; }
Property Value
Virtual The details element. |
HasChildRows
Gets whether the row element has child rows.
Declaration
public bool HasChildRows { get; }
Property Value
System. 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. The hot tracking. |
IsChildViewInitialized
Gets if the child view is initialized.
Declaration
public bool IsChildViewInitialized { get; }
Property Value
System. The is child view initialized. |
IsChildViewVisible
Gets if the child view is visible.
Declaration
public bool IsChildViewVisible { get; }
Property Value
System. 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. The is current. |
IsInEditMode
Gets or sets whether the row is in edit mode.
Declaration
public bool IsInEditMode { get; set; }
Property Value
System. 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. The is odd. |
IsSelected
Gets or sets whether the row element is selected.
Declaration
public virtual bool IsSelected { get; set; }
Property Value
System. The is selected. |
LeftPinnedCellContainer
Gets the left pinned cell container.
Declaration
public StackLayoutElement LeftPinnedCellContainer { get; }
Property Value
Stack The left pinned cell container. |
RightPinnedCellContainer
Gets the right pinned cell container.
Declaration
public StackLayoutElement RightPinnedCellContainer { get; }
Property Value
Stack The right pinned cell container. |
RowIndex
Gets the index of the row.
Declaration
public int RowIndex { get; }
Property Value
System. The index of the row. |
TableElement
Gets the table element.
Declaration
public VirtualGridTableElement TableElement { get; }
Property Value
Virtual The table element. |
ViewInfo
Gets the view info.
Declaration
public VirtualGridViewInfo ViewInfo { get; }
Property Value
Virtual The view info. |
Methods
ArrangeOverride(SizeF)
Arranges the Rad
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System. The size that is available for element. |
Returns
System. 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. The data. |
System. The context. |
Implements
CreateDetailViewCellElementContainer()
Creates the detail view cell element container.
Declaration
protected virtual VirtualGridDetailViewCellElement CreateDetailViewCellElementContainer()
Returns
CreateLeftPinnedColumnsContainer()
Creates the left pinned columns container.
Declaration
protected virtual StackLayoutElement CreateLeftPinnedColumnsContainer()
Returns
CreateRightPinnedColumnsContainer()
Creates the right pinned columns container.
Declaration
protected virtual StackLayoutElement CreateRightPinnedColumnsContainer()
Returns
CreateScrollableColumnsContainer()
Creates the scrollable columns container.
Declaration
protected virtual ScrollableVirtualCellsContainer CreateScrollableColumnsContainer()
Returns
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.
|
Initialize(VirtualGridTableElement)
Initializes the specified table element.
Declaration
public virtual void Initialize(VirtualGridTableElement tableElement)
Parameters
Virtual 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. The data. |
System. The context. |
Returns
System.
|
Implements
MeasureElements(SizeF, SizeF, Padding)
Measures the elements.
Declaration
protected override SizeF MeasureElements(SizeF availableSize, SizeF clientSize, Padding borderThickness)
Parameters
System. Size of the available. |
System. Size of the client. |
System. The border thickness. |
Returns
System.
|
Overrides
MeasureOverride(SizeF)
Measures the space required by the Rad
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System. The size that is available to the Rad |
Returns
System. 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. Size of the available. |
Returns
System.
|
OnMouseMove(MouseEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System. The System. |
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
Declaration
protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.
|
System.
|
System.
|
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. 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. Content of the update. |
SynchronizeIndentCell()
Synchronizes the indent cell.
Declaration
public virtual void SynchronizeIndentCell()