ClassVirtualRowsContainerElement
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
VirtualRowsContainerElement()
Declaration
public VirtualRowsContainerElement()
Properties
BottomPinnedRows
Gets the bottom pinned rows.
Declaration
public StackLayoutElement BottomPinnedRows { get; }
Property Value
The bottom pinned rows.
ScrollableRows
Gets the scrollable rows.
Declaration
public ScrollableVirtualRowsContainer ScrollableRows { get; }
Property Value
ScrollableVirtualRowsContainer
The scrollable rows.
TableElement
Gets or sets the table element.
Declaration
public VirtualGridTableElement TableElement { get; set; }
Property Value
The table element.
TopPinnedRows
Gets the top pinned rows.
Declaration
public StackLayoutElement TopPinnedRows { get; }
Property Value
The top pinned rows.
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.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
GetRowElement(int)
Gets the row element.
Declaration
public VirtualGridRowElement GetRowElement(int rowIndex)
Parameters
rowIndex
Index of the row.
Returns
GetRowElements()
Gets the row elements.
Declaration
public IEnumerable<VirtualGridRowElement> GetRowElements()
Returns
IEnumerable<VirtualGridRowElement>
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.
UpdateElementSpacing()
Updates the element spacing.
Declaration
public void UpdateElementSpacing()