Class ScrollableRowsContainerElement
Represents a scrollable virtualized container that holds the row elements.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ScrollableRowsContainerElement : VirtualizedStackContainer<GridViewRowInfo>, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
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
System.Drawing.SizeF
finalSize
The size that is available for element. |
Returns
System.Drawing.SizeF
The rectangle occupied by the element. Usually |
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
ClearItems()
Clears the items.
Declaration
public void ClearItems()
FindCompatibleElement(Int32, GridViewRowInfo)
Finds the compatible element.
Declaration
protected override int FindCompatibleElement(int position, GridViewRowInfo data)
Parameters
System.Int32
position
The position. |
GridViewRowInfo
data
The data. |
Returns
System.Int32
|
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)
Declaration
protected override bool IsItemVisible(GridViewRowInfo data)
Parameters
GridViewRowInfo
data
|
Returns
System.Boolean
|
Overrides
MeasureElementCore(RadElement, SizeF)
Measures the element core.
Declaration
protected override SizeF MeasureElementCore(RadElement element, SizeF availableSize)
Parameters
RadElement
element
The element. |
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Drawing.SizeF
|
Overrides
MeasureOverride(SizeF)
Measures the element with the available size.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Drawing.SizeF
|
Overrides
RemoveElement(Int32)
Removes the element.
Declaration
protected override void RemoveElement(int position)
Parameters
System.Int32
position
The position. |
Overrides
ResetStyleSettings(Boolean, 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
System.Boolean
recursive
|
RadProperty
property
|
Overrides
UpdateElement(Int32, GridViewRowInfo)
Updates the element at concrete position
Declaration
protected override IVirtualizedElement<GridViewRowInfo> UpdateElement(int position, GridViewRowInfo data)
Parameters
System.Int32
position
The position. |
GridViewRowInfo
data
The data. |
Returns
IVirtualizedElement<GridViewRowInfo>
|
Overrides
UpdateElementOnScrollUp(Int32, GridViewRowInfo)
Updates the element on scroll up.
Declaration
protected virtual IVirtualizedElement<GridViewRowInfo> UpdateElementOnScrollUp(int position, GridViewRowInfo data)
Parameters
System.Int32
position
The position. |
GridViewRowInfo
data
The data. |
Returns
IVirtualizedElement<GridViewRowInfo>
|
UpdateOnScroll(ScrollableRowsUpdateAction)
Updates the element when scrolling.
Declaration
public void UpdateOnScroll(ScrollableRowsUpdateAction action)
Parameters
ScrollableRowsUpdateAction
action
The action. |