Class SpinnerColumnView
Represents a column view of populated based on ItemsSource in SpinnerView. SpinnerColumn contains SpinnerItem which represents single data item in a bound data source.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class SpinnerColumnView : Control, IDisposable
Constructors
SpinnerColumnView()
Initializes a new instance of the SpinnerColumnView class.
Declaration
public SpinnerColumnView()
Fields
ColumnProperty
Identifies Column dependency property.
Declaration
public static readonly DependencyProperty ColumnProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for the Column dependency property. |
ItemContainerStyleProperty
Identifies ItemContainerStyle dependency property.
Declaration
public static readonly DependencyProperty ItemContainerStyleProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for the ItemContainerStyle dependency property. |
ItemTemplateProperty
Identifies ItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DependencyProperty | The identifier for the ItemTemplate dependency property. |
Properties
Column
Gets or sets the SpinnerColumn that SpinnerColumnView represents. SpinnerColumnView populated using ItemsSource.
Declaration
public SpinnerColumn Column { get; set; }
Property Value
Type |
---|
SpinnerColumn |
ItemContainerStyle
Gets or sets the Microsoft.UI.Xaml.Style that is applied to the SpinnerItem generated for each item in SpinnerColumnView.
Declaration
public Style ItemContainerStyle { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Style | The style that is applied to container element generated for each item in SpinnerColumnView. |
ItemTemplate
Gets or sets the data template used to display each item in SpinnerColumnView.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.DataTemplate | The DataTemplate that defines the visual representation of the dropdown item. The default value is null. |
Methods
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. |
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
Microsoft.UI.Xaml.Automation.Peers.AutomationPeer |
OnKeyDown(KeyRoutedEventArgs)
Occurs when a keyboard key is pressed while the SpinnerColumnView has focus.
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.KeyRoutedEventArgs | e | The KeyRoutedEventArgs. |
OnPointerPressed(PointerRoutedEventArgs)
Called before the PointerPressed event occurs.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The PointerRoutedEventArgs. |
OnPointerReleased(PointerRoutedEventArgs)
Called before the PointerReleased event occurs.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The PointerRoutedEventArgs. |
OnPointerWheelChanged(PointerRoutedEventArgs)
Occurs when the delta value of a pointer wheel changes.
Declaration
protected override void OnPointerWheelChanged(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The PointerRoutedEventArgs. |