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
Initializes a new instance of the VirtualGridRowElement class.
public VirtualGridRowElement()
Fields
public static RadProperty ContainsCurrentCellProperty
public static RadProperty ContainsSelectedCellsProperty
public static RadProperty HotTrackingProperty
public static RadProperty IsCurrentProperty
public static RadProperty IsInEditModeProperty
public static RadProperty IsOddProperty
public static RadProperty IsSelectedProperty
Properties
Gets whether the alternating color can be applied.
public virtual bool CanApplyAlternatingColor { get; }
The color of the can apply alternating.
Gets the cell container.
public ScrollableVirtualCellsContainer CellContainer { get; }
The cell container.
Gets or sets whether the row element contains the current cell.
public virtual bool ContainsCurrentCell { get; set; }
The contains current cell.
Gets or sets the contains selected cells.
public virtual bool ContainsSelectedCells { get; set; }
The contains selected cells.
Gets the details element.
public VirtualGridDetailViewCellElement DetailsElement { get; }
The details element.
Gets whether the row element has child rows.
public bool HasChildRows { get; }
The has child rows.
Gets or sets whether the hot tracking is enabled for this row element.
public virtual bool HotTracking { get; set; }
The hot tracking.
Gets if the child view is initialized.
public bool IsChildViewInitialized { get; }
The is child view initialized.
Gets if the child view is visible.
public bool IsChildViewVisible { get; }
The is child view visible.
Gets or sets if the row element is current.
public virtual bool IsCurrent { get; set; }
The is current.
Gets or sets whether the row is in edit mode.
public bool IsInEditMode { get; set; }
The is in edit mode.
Gets or sets if the row element is odd.
public virtual bool IsOdd { get; set; }
The is odd.
Gets or sets whether the row element is selected.
public virtual bool IsSelected { get; set; }
The is selected.
Gets the left pinned cell container.
public StackLayoutElement LeftPinnedCellContainer { get; }
The left pinned cell container.
Gets the right pinned cell container.
public StackLayoutElement RightPinnedCellContainer { get; }
The right pinned cell container.
Gets the index of the row.
public int RowIndex { get; }
The index of the row.
Gets the table element.
public VirtualGridTableElement TableElement { get; }
The table element.
Gets the view info.
public VirtualGridViewInfo ViewInfo { get; }
The view info.
Methods
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF 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:
In this method call to the Arrange method of each child must be made.
Creates the detail view cell element container.
protected virtual VirtualGridDetailViewCellElement CreateDetailViewCellElementContainer()
Creates the left pinned columns container.
protected virtual StackLayoutElement CreateLeftPinnedColumnsContainer()
Creates the right pinned columns container.
protected virtual StackLayoutElement CreateRightPinnedColumnsContainer()
Creates the scrollable columns container.
protected virtual ScrollableVirtualCellsContainer CreateScrollableColumnsContainer()
Detaches the row element.
public virtual void Detach()
Implements:
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Gets the cell elements.
public IEnumerable<VirtualGridCellElement> GetCellElements()
IEnumerable<VirtualGridCellElement>
Initializes the specified table element.
public virtual void Initialize(VirtualGridTableElement tableElement)
The table element.
Initializes the fields.
protected override void InitializeFields()
Overrides:
Invalidates the pinned columns.
public void InvalidatePinnedColumns()
Measures the space required by the RadElement Used by the layout system.
protected override SizeF MeasureOverride(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:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Raises the event.
protected override void OnMouseMove(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Overrides:
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Event arguments containing information about the property that changed.
Overrides:
Synchronizes the row element.
public virtual void Synchronize()
Implements:
Synchronizes the specified update content.
public virtual void Synchronize(bool updateContent)
Content of the update.
Synchronizes the cells.
public virtual void SynchronizeCells()
Synchronizes the cells.
public virtual void SynchronizeCells(bool updateContent)
Content of the update.
Synchronizes the indent cell.
public virtual void SynchronizeIndentCell()