ClassRowsContainerElement
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
RowsContainerElement()
Declaration
public RowsContainerElement()
Properties
BottomPinnedRows
Gets the bottom pinned rows.
Declaration
public PinnedRowsContainerElement BottomPinnedRows { get; }
Property Value
The bottom pinned rows.
ElementSpacing
Gets or sets the element spacing.
Declaration
public int ElementSpacing { get; set; }
Property Value
The element spacing.
MergeCellsContainer
Gets the container of merged cells.
Declaration
public LightVisualElement MergeCellsContainer { get; }
Property Value
RowLayout
Gets or sets the row layout.
Declaration
public IGridRowLayout RowLayout { get; set; }
Property Value
The row layout.
ScrollableRows
Gets the scrollable rows.
Declaration
public ScrollableRowsContainerElement ScrollableRows { get; }
Property Value
ScrollableRowsContainerElement
The scrollable rows.
TableElement
Gets the table element.
Declaration
public GridTableElement TableElement { get; }
Property Value
The table element.
TopPinnedRows
Gets the top pinned rows.
Declaration
public PinnedRowsContainerElement 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
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
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.
Declaration
protected override void InitializeFields()
Overrides
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.
OnParentChanged(RadElement)
Notifies for a change in the Parent value.
Declaration
protected override void OnParentChanged(RadElement previousParent)
Parameters
previousParent
The previous parent element (if any)
Overrides
UpdateRows(bool)
Updates the rows.
Declaration
public void UpdateRows(bool updateCells)
Parameters
updateCells
The update cells.
UpdateRowsWhenColumnsChanged()
Updates the rows when columns changed.
Declaration
public void UpdateRowsWhenColumnsChanged()