Class VirtualizedStackContainer<T>
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class VirtualizedStackContainer<T> : BaseVirtualizedContainer<T>, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Type Parameters
T
|
Constructors
VirtualizedStackContainer()
Declaration
public VirtualizedStackContainer()
Fields
offset
Declaration
protected float offset
Field Value
System.Single
|
Properties
ArtificialOffset
Declaration
public float ArtificialOffset { get; }
Property Value
System.Single
|
CurrentDesiredSize
Declaration
public SizeF CurrentDesiredSize { get; }
Property Value
System.Drawing.SizeF
|
FitElementsToSize
Gets or sets a value indicating whether the elements fit to size.
Declaration
public bool FitElementsToSize { get; set; }
Property Value
System.Boolean
|
ItemSpacing
Gets or sets the item spacing.
Declaration
public int ItemSpacing { get; set; }
Property Value
System.Int32
The item spacing. |
Orientation
Gets or sets the items orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
The orientation. |
OriginalAvailableSize
Declaration
public SizeF OriginalAvailableSize { get; }
Property Value
System.Drawing.SizeF
|
RemainingAvailableSize
Declaration
public SizeF RemainingAvailableSize { get; }
Property Value
System.Drawing.SizeF
|
ScrollOffset
Gets or sets the scroll offset.
Declaration
public SizeF ScrollOffset { get; set; }
Property Value
System.Drawing.SizeF
The scroll offset. |
Methods
AddArtificialOffset(Single)
Adds artificial offset on IsItemVisible when we want to use the method to hide the items which are above the top edge of the control (we hide them to improve the virtualization performance). The artificial offset will make the ArrangeOverride method start arranging items from their actual position, as if the hidden items were there.
Declaration
protected void AddArtificialOffset(float offset)
Parameters
System.Single
offset
The offset to add. |
ArrangeElementCore(RadElement, SizeF, RectangleF)
Arranges the element core.
Declaration
protected virtual RectangleF ArrangeElementCore(RadElement element, SizeF finalSize, RectangleF arrangeRect)
Parameters
RadElement
element
The element. |
System.Drawing.SizeF
finalSize
The final size. |
System.Drawing.RectangleF
arrangeRect
The arrange rect. |
Returns
System.Drawing.RectangleF
|
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
BeginMeasure(SizeF)
Declaration
protected override bool BeginMeasure(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Boolean
|
Overrides
EndMeasure()
Declaration
protected override SizeF EndMeasure()
Returns
System.Drawing.SizeF
|
Overrides
InitializeOffset()
Declaration
protected virtual void InitializeOffset()
MeasureElement(IVirtualizedElement<T>)
Declaration
protected override bool MeasureElement(IVirtualizedElement<T> element)
Parameters
IVirtualizedElement<T>
element
|
Returns
System.Boolean
|
Overrides
MeasureElementCore(RadElement, SizeF)
Measures the element core.
Declaration
protected virtual SizeF MeasureElementCore(RadElement element, SizeF availableSize)
Parameters
RadElement
element
The element. |
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Drawing.SizeF
|