Class RadStackViewport
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadStackViewport : StackLayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IRadScrollViewport
Constructors
RadStackViewport()
Declaration
public RadStackViewport()
Methods
CalcExtentSize()
Declaration
protected virtual Size CalcExtentSize()
Returns
|
System.Drawing.Size
|
DoScroll(Point, Point)
Declaration
public virtual void DoScroll(Point oldValue, Point newValue)
Parameters
|
System.Drawing.Point
oldValue
|
|
System.Drawing.Point
newValue
|
Implements
GetExtentSize()
Declaration
public virtual Size GetExtentSize()
Returns
|
System.Drawing.Size
|
Implements
GetLastFullVisibleItemsNum()
Returns the number of items that are visible when the viewport is scrolled to its maximum value (the bottom for vertical stack and the right-most place for left-to-right horizontal stack). The last item must always be fully visible. If there are children the result will be at least 1.
Declaration
protected virtual int GetLastFullVisibleItemsNum()
Returns
|
System.Int32
Number of full visible items in the viewport. If the items are with different sizes, the last items are used in the calculations. |
GetNonCollapsedChildrenNum()
Declaration
protected virtual int GetNonCollapsedChildrenNum()
Returns
|
System.Int32
|
GetOffsetFromIndex(Int32)
Declaration
protected int GetOffsetFromIndex(int topIndex)
Parameters
|
System.Int32
topIndex
|
Returns
|
System.Int32
|
GetScrollParams(Size, Size)
Declaration
public virtual ScrollPanelParameters GetScrollParams(Size viewportSize, Size extentSize)
Parameters
|
System.Drawing.Size
viewportSize
|
|
System.Drawing.Size
extentSize
|
Returns
|
ScrollPanelParameters
|
Implements
InvalidateViewport()
Declaration
public virtual void InvalidateViewport()
Implements
OnChildrenChanged(RadElement, ItemsChangeOperation)
Declaration
protected override void OnChildrenChanged(RadElement child, ItemsChangeOperation changeOperation)
Parameters
|
RadElement
child
|
|
ItemsChangeOperation
changeOperation
|
Overrides
ResetValue(Point, Size, Size)
Declaration
public virtual Point ResetValue(Point currentValue, Size viewportSize, Size extentSize)
Parameters
|
System.Drawing.Point
currentValue
|
|
System.Drawing.Size
viewportSize
|
|
System.Drawing.Size
extentSize
|
Returns
|
System.Drawing.Point
|
Implements
ScrollOffsetForChildVisible(RadElement, Point)
Declaration
public virtual Size ScrollOffsetForChildVisible(RadElement childElement, Point currentScrollValue)
Parameters
|
RadElement
childElement
|
|
System.Drawing.Point
currentScrollValue
|
Returns
|
System.Drawing.Size
|