Represents the container of the virtual row elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualRowsContainerElement : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelVirtualRowsContainerElement...
Implements:
Inherited Members
Constructors
public VirtualRowsContainerElement()
Properties
Gets the bottom pinned rows.
public StackLayoutElement BottomPinnedRows { get; }
The bottom pinned rows.
Gets the scrollable rows.
public ScrollableVirtualRowsContainer ScrollableRows { get; }
The scrollable rows.
Gets or sets the table element.
public VirtualGridTableElement TableElement { get; set; }
The table element.
Gets the top pinned rows.
public StackLayoutElement TopPinnedRows { get; }
The top pinned rows.
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.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Gets the row element.
public VirtualGridRowElement GetRowElement(int rowIndex)
Index of the row.
Returns:Gets the row elements.
public IEnumerable<VirtualGridRowElement> GetRowElements()
IEnumerable<VirtualGridRowElement>
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.
Updates the element spacing.
public void UpdateElementSpacing()