ClassScrollableRowsContainerElement
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
ScrollableRowsContainerElement()
Declaration
public ScrollableRowsContainerElement()
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.
FindCompatibleElement(int, GridViewRowInfo)
Finds the compatible element.
Declaration
protected override int FindCompatibleElement(int position, GridViewRowInfo data)
Parameters
position
The position.
data
The data.
Returns
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
IsItemVisible(GridViewRowInfo)
Determines whether the specified item is visible.
Declaration
protected override bool IsItemVisible(GridViewRowInfo data)
Parameters
data
The item.
Returns
true if item is visible; otherwise, false.
Overrides
MeasureElementCore(RadElement, SizeF)
Measures the element core.
Declaration
protected override SizeF MeasureElementCore(RadElement element, SizeF availableSize)
Parameters
element
The element.
availableSize
Size of the available.
Returns
Overrides
MeasureOverride(SizeF)
Measures the element with the available size.
RemoveElement(int)
Removes the element.
Declaration
protected override void RemoveElement(int position)
Parameters
position
The position.
Overrides
ResetStyleSettings(bool, RadProperty)
Resets the Style modifier for the specified property. Will reset all properties if null is passed.
Declaration
public override void ResetStyleSettings(bool recursive, RadProperty property)
Parameters
recursive
property
Overrides
UpdateElement(int, GridViewRowInfo)
Updates the element at concrete position
Declaration
protected override IVirtualizedElement<GridViewRowInfo> UpdateElement(int position, GridViewRowInfo data)
Parameters
position
The position.
data
The data.
Returns
Overrides
UpdateElementOnScrollUp(int, GridViewRowInfo)
Updates the element on scroll up.
Declaration
protected virtual IVirtualizedElement<GridViewRowInfo> UpdateElementOnScrollUp(int position, GridViewRowInfo data)
Parameters
position
The position.
data
The data.
Returns
UpdateOnScroll(ScrollableRowsUpdateAction)
Updates the element when scrolling.
Declaration
public void UpdateOnScroll(ScrollableRowsUpdateAction action)
Parameters
action
The action.