Represents a scrollable virtualized container that holds the row elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class ScrollableRowsContainerElement : VirtualizedStackContainer<GridViewRowInfo>, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelBaseVirtualizedContainer<GridViewRowInfo>VirtualizedStackContainer<GridViewRowInfo>ScrollableRowsContainerElement...
Derived Classes:
Implements:
Inherited Members
Constructors
public ScrollableRowsContainerElement()
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 items.
public void ClearItems()
Finds the compatible element.
protected override int FindCompatibleElement(int position, GridViewRowInfo data)
The position.
dataGridViewRowInfoThe data.
Returns: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:
Determines whether the specified item is visible.
protected override bool IsItemVisible(GridViewRowInfo data)
The item.
Returns:true if item is visible; otherwise, false.
Overrides:
Measures the element core.
protected override SizeF MeasureElementCore(RadElement element, SizeF availableSize)
The element.
availableSizeSizeFSize of the available.
Returns:Overrides:
Removes the element.
protected override void RemoveElement(int position)
The position.
Overrides:
Resets the Style modifier for the specified property. Will reset all properties if null is passed.
public override void ResetStyleSettings(bool recursive, RadProperty property)
Overrides:
Updates the element at concrete position
protected override IVirtualizedElement<GridViewRowInfo> UpdateElement(int position, GridViewRowInfo data)
The position.
dataGridViewRowInfoThe data.
Returns:Overrides:
Updates the element on scroll up.
protected virtual IVirtualizedElement<GridViewRowInfo> UpdateElementOnScrollUp(int position, GridViewRowInfo data)
The position.
dataGridViewRowInfoThe data.
Returns:Updates the element when scrolling.
public void UpdateOnScroll(ScrollableRowsUpdateAction action)
The action.