Class SpinnerItemsPanel
Represents the class to achieve virtualization. On this process, only small number of items that can fit into the viewport will be generated. And during scrolling or tapping, the same containers will be reused to show the new items. Cyclic behavior has been used to render items while scrolling, tapping, touch interaction. i.e, while scrolling , once the items in ItemsSource are scrolled, then the same item will be rendered to visually show the cyclic effect.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class SpinnerItemsPanel : Panel, IDisposable
Constructors
SpinnerItemsPanel()
Initializes a new instance of the SpinnerItemsPanel class.
Declaration
public SpinnerItemsPanel()
Methods
ArrangeOverride(Size)
Arranges the children in the container.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | Size used to arrange its child. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns the final area of its child. |
Dispose()
Release the unmanaged resources of SpinnerView.
Declaration
public void Dispose()
Dispose(Boolean)
Release the unmanaged resources of SpinnerView.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Used to indicate perform dispose or not. |
MeasureOverride(Size)
Provides the measure size of the children.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | Size available for the control. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns the size measured. |