Class SfDomainUpDown
Syncfusion.UI.Xaml.Controls.Input.DomainUpDown control is a pair of spin buttons by clicking the up and down buttons the user can scroll and select the data.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls.Input
Assembly: Syncfusion.SfInput.UWP.dll
Syntax
public class SfDomainUpDown : Control, IDisposable
Remarks
DomainUpDown is a control
Constructors
SfDomainUpDown()
Initializes a new instance of the Syncfusion.UI.Xaml.Controls.Input.DomainUpDown class.
Declaration
public SfDomainUpDown()
Fields
AccentBrushProperty
Using a DependencyProperty as the backing store for AccentBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AccentBrushProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
AutoReverseProperty
Using a DependencyProperty as the backing store for Value. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AutoReverseProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ContentTemplateProperty
Using a DependencyProperty as the backing store for ContentTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ContentTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ContentTransitionProperty
Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ContentTransitionProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CurrentIndexProperty
Using a DependencyProperty as the backing store for CurrentIndex. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CurrentIndexProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EnableSpinAnimationProperty
Using a DependencyProperty as the backing store for EnableSpinAnimation. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableSpinAnimationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ItemsSourceProperty
Using a DependencyProperty as the backing store for ItemsSource. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SpinButtonsAlignmentProperty
Using a DependencyProperty as the backing store for SpinButtonsAlignment. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SpinButtonsAlignmentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
UpDownStyleProperty
Using a DependencyProperty as the backing store for UpDownStyle. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty UpDownStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ValueProperty
Using a DependencyProperty as the backing store for Value. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
AccentBrush
Gets or sets the background for Syncfusion.UI.Xaml.Controls.Input.DomainUpDown.
Declaration
public Brush AccentBrush { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
AutoReverse
Gets or sets a value indicating whether the values can be auto reversed.
Declaration
public bool AutoReverse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ContentTemplate
Gets or sets the data template used to display the content for Syncfusion.UI.Xaml.Controls.Input.DomainUpDown
Declaration
public DataTemplate ContentTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
ContentTransition
Gets or sets the collection of transitions that apply to the content area of Syncfusion.UI.Xaml.Controls.Input.DomainUpDown.
Declaration
[ClassReference(IsReviewed = false)]
public TransitionCollection ContentTransition { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Animation.TransitionCollection | Windows.UI.Xaml.Media.Animation.. |
See Also
CurrentIndex
Gets or sets the zero-based index of the currently selected item in a Syncfusion.UI.Xaml.Controls.Input.DomainUpDown.
Declaration
public int CurrentIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is zero. |
DecrementCommand
Gets the previous Value
Declaration
public ICommand DecrementCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
EnableSpinAnimation
Gets or sets a value indicating whether Syncfusion.UI.Xaml.Controls.Input.DomainUpDown can animate on increment/decrement items.
Declaration
public bool EnableSpinAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
See Also
IncrementCommand
Gets the next Value
Declaration
public ICommand IncrementCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
ItemsSource
Gets or sets a collection used to generate the content of the Syncfusion.UI.Xaml.Controls.Input.DomainUpDown.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | The default value is null. |
SpinButtonsAlignment
Gets or sets the spin buttons alignment.
Declaration
public SpinButtonsAlignment SpinButtonsAlignment { get; set; }
Property Value
Type | Description |
---|---|
SpinButtonsAlignment | The default value is SpinButtonsAlignment. |
See Also
UpDownStyle
Gets or sets the style for updown buttons.
Declaration
public Style UpDownStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
See Also
Value
Gets or sets the current value for Syncfusion.UI.Xaml.Controls.Input.DomainUpDown.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value. |
Remarks
The Default value is null.
Methods
add_ValueChanged(ValueChangedEventHandler)
Declaration
public void add_ValueChanged(ValueChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventHandler | value |
Decrement()
Decrements the associated performance counter by one and stores the result, as an atomic operation.
Declaration
public void Decrement()
Remarks
Returns void
See Also
Dispose()
Declaration
public void Dispose()
Increment()
Increments the associated performance counter by one and stores the result, as an atomic operation.
Declaration
public void Increment()
Remarks
Returns void
See Also
OnApplyTemplate()
Initializes all the child elements of Syncfusion.UI.Xaml.Controls.Input.DomainUpDown control.
Declaration
protected override void OnApplyTemplate()
OnContentTemplateChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when content template is changed.
Declaration
protected static void OnContentTemplateChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | sender | |
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnCurrentIndexChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Occurs when the current index has changed
Declaration
protected static void OnCurrentIndexChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | sender | |
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnGotFocus(RoutedEventArgs)
Occurs when the focus is obtained
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.RoutedEventArgs | e |
OnItemsSourceChanged(DependencyPropertyChangedEventArgs)
Occurs when the Syncfusion.UI.Xaml.Controls.Input.DomainUpDown control ItemsSource has changed.
Declaration
protected void OnItemsSourceChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnLostFocus(RoutedEventArgs)
Occurs when the focus is lost
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.RoutedEventArgs | e |
OnPointerWheelChanged(PointerRoutedEventArgs)
Occurs when the pointer is moved
Declaration
protected override void OnPointerWheelChanged(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnValueChanged(DependencyPropertyChangedEventArgs)
Occurs when the Syncfusion.UI.Xaml.Controls.Input.DomainUpDown control Value has changed.
Declaration
protected void OnValueChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
remove_ValueChanged(ValueChangedEventHandler)
Declaration
public void remove_ValueChanged(ValueChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventHandler | value |
Events
ValueChanged
Occurs when current Syncfusion.UI.Xaml.Controls.Input.DomainUpDown.Value changed.
Declaration
public event ValueChangedEventHandler ValueChanged
Event Type
Type |
---|
ValueChangedEventHandler |