RowsContainerElement
Represents a container element that holds the row elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class RowsContainerElement : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelRowsContainerElement...
Implements:
Inherited Members
Constructors
public RowsContainerElement()
Properties
Gets the bottom pinned rows.
public PinnedRowsContainerElement BottomPinnedRows { get; }
The bottom pinned rows.
Gets or sets the element spacing.
public int ElementSpacing { get; set; }
The element spacing.
Gets the container of merged cells.
public LightVisualElement MergeCellsContainer { get; }
Gets or sets the row layout.
public IGridRowLayout RowLayout { get; set; }
The row layout.
Gets the scrollable rows.
public ScrollableRowsContainerElement ScrollableRows { get; }
The scrollable rows.
Gets the table element.
public GridTableElement TableElement { get; }
The table element.
Gets the top pinned rows.
public PinnedRowsContainerElement 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.
Clears the rows.
public void ClearRows()
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
protected override void InitializeFields()
Overrides:
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.
Notifies for a change in the Parent value.
protected override void OnParentChanged(RadElement previousParent)
The previous parent element (if any)
Overrides:
Updates the rows.
public void UpdateRows()
Updates the rows.
Updates the rows when columns changed.
public void UpdateRowsWhenColumnsChanged()