ClassVirtualGridRowElement
Represents the row element of RadVirtualGrid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualGridRowElement : 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: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementVirtualGridRowElement
Derived Classes:
Implements:
Inherited Members
Constructors
VirtualGridRowElement()
Initializes a new instance of the VirtualGridRowElement class.
Declaration
public VirtualGridRowElement()
Fields
ContainsCurrentCellProperty
Declaration
public static RadProperty ContainsCurrentCellProperty
Field Value
ContainsSelectedCellsProperty
Declaration
public static RadProperty ContainsSelectedCellsProperty
Field Value
IsInEditModeProperty
Declaration
public static RadProperty IsInEditModeProperty
Field Value
Properties
CanApplyAlternatingColor
Gets whether the alternating color can be applied.
Declaration
public virtual bool CanApplyAlternatingColor { get; }
Property Value
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
The contains current cell.
ContainsSelectedCells
Gets or sets the contains selected cells.
Declaration
public virtual bool ContainsSelectedCells { get; set; }
Property Value
The contains selected cells.
Data
Gets the associated data.
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
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
The hot tracking.
IsChildViewInitialized
Gets if the child view is initialized.
Declaration
public bool IsChildViewInitialized { get; }
Property Value
The is child view initialized.
IsChildViewVisible
Gets if the child view is visible.
Declaration
public bool IsChildViewVisible { get; }
Property Value
The is child view visible.
IsCurrent
Gets or sets if the row element is current.
Declaration
public virtual bool IsCurrent { get; set; }
Property Value
The is current.
IsInEditMode
Gets or sets whether the row is in edit mode.
Declaration
public bool IsInEditMode { get; set; }
Property Value
The is in edit mode.
IsOdd
Gets or sets if the row element is odd.
Declaration
public virtual bool IsOdd { get; set; }
Property Value
The is odd.
IsSelected
Gets or sets whether the row element is selected.
Declaration
public virtual bool IsSelected { get; set; }
Property Value
The is selected.
LeftPinnedCellContainer
Gets the left pinned cell container.
Declaration
public StackLayoutElement LeftPinnedCellContainer { get; }
Property Value
The left pinned cell container.
RightPinnedCellContainer
Gets the right pinned cell container.
Declaration
public StackLayoutElement RightPinnedCellContainer { get; }
Property Value
The right pinned cell container.
RowIndex
Gets the index of the row.
TableElement
Gets the table element.
Declaration
public VirtualGridTableElement TableElement { get; }
Property Value
The table element.
ViewInfo
Gets the view info.
Declaration
public VirtualGridViewInfo ViewInfo { get; }
Property Value
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
finalSize
The size that is available for element.
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
Attach(int, object)
Attaches the specified data.
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
Initialize(VirtualGridTableElement)
Initializes the specified table element.
Declaration
public virtual void Initialize(VirtualGridTableElement tableElement)
Parameters
tableElement
The table element.
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
InvalidatePinnedColumns()
Invalidates the pinned columns.
Declaration
public void InvalidatePinnedColumns()
IsCompatible(int, object)
Determines whether element is compatible with the specified data.
MeasureElements(SizeF, SizeF, Padding)
Measures the elements.
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
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.
OnMouseMove(MouseEventArgs)
Raises the event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
Synchronize()
Synchronizes the row element.
Declaration
public virtual void Synchronize()
Implements
Synchronize(bool)
Synchronizes the specified update content.
Declaration
public virtual void Synchronize(bool updateContent)
Parameters
updateContent
Content of the update.
SynchronizeCells()
Synchronizes the cells.
Declaration
public virtual void SynchronizeCells()
SynchronizeCells(bool)
Synchronizes the cells.
Declaration
public virtual void SynchronizeCells(bool updateContent)
Parameters
updateContent
Content of the update.
SynchronizeIndentCell()
Synchronizes the indent cell.
Declaration
public virtual void SynchronizeIndentCell()