RadStackViewport
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadStackViewport : StackLayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IRadScrollViewport
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelStackLayoutPanelRadStackViewport...
Implements:
Inherited Members
Constructors
public RadStackViewport()
Methods
Gets the real size of the content that the viewport must visualize.
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.
protected virtual int GetLastFullVisibleItemsNum()
Number of full visible items in the viewport. If the items are with different sizes, the last items are used in the calculations.
Invalidates the viewport.
public virtual void InvalidateViewport()
Implements:
protected override void OnChildrenChanged(RadElement child, ItemsChangeOperation changeOperation)
Overrides:
Calculates the necessary offset in order to make the given child visible.
public virtual Size ScrollOffsetForChildVisible(RadElement childElement, Point currentScrollValue)
Implements: