menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfUpDown - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfUpDown

    Represents a control that allows you enter numeric values and provides a user interface to increase or decrease numeric values

    Inheritance
    System.Object
    SfUpDown
    Namespace: Syncfusion.UI.Xaml.Controls
    Assembly: Syncfusion.SfShared.UWP.dll
    Syntax
    [ClassReference(IsReviewed = false, ShouldInclude = false)]
    public class SfUpDown : Control

    Constructors

    SfUpDown()

    Declaration
    public SfUpDown()

    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

    DownButtonStyleProperty

    Using a DependencyProperty as the backing store for DownButtonStyle. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DownButtonStyleProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    DownCommandParameterProperty

    Using a DependencyProperty as the backing store for DownCommandParameter. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DownCommandParameterProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    DownCommandProperty

    Using a DependencyProperty as the backing store for DownCommand. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DownCommandProperty
    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

    UpButtonStyleProperty

    Using a DependencyProperty as the backing store for UpButtonStyle. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UpButtonStyleProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UpCommandParameterProperty

    Using a DependencyProperty as the backing store for commandParameter. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UpCommandParameterProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UpCommandProperty

    Using a DependencyProperty as the backing store for UpCommand. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UpCommandProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UpDownContentProperty

    Using a DependencyProperty as the backing store for UpDownContent. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UpDownContentProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    AccentBrush

    Gets or sets the accent brush

    Declaration
    public Brush AccentBrush { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.Brush

    DownButtonStyle

    Gets or sets the style for down button

    Declaration
    public Style DownButtonStyle { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Style

    DownCommand

    Gets or sets the command for down motion

    Declaration
    public ICommand DownCommand { get; set; }
    Property Value
    Type
    System.Windows.Input.ICommand

    DownCommandParameter

    Gets or sets the parameter for down command

    Declaration
    public object DownCommandParameter { get; set; }
    Property Value
    Type
    System.Object

    SpinButtonsAlignment

    Gets or sets the alignment for spin buttons

    Declaration
    public SpinButtonsAlignment SpinButtonsAlignment { get; set; }
    Property Value
    Type
    SpinButtonsAlignment

    UpButtonStyle

    Gets or sets the style for up button

    Declaration
    public Style UpButtonStyle { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Style

    UpCommand

    Gets or sets the command for up motion

    Declaration
    public ICommand UpCommand { get; set; }
    Property Value
    Type
    System.Windows.Input.ICommand

    UpCommandParameter

    Gets or sets the parameter for up command

    Declaration
    public object UpCommandParameter { get; set; }
    Property Value
    Type
    System.Object

    UpDownContent

    Gets or sets the content for up button

    Declaration
    public object UpDownContent { get; set; }
    Property Value
    Type
    System.Object

    Methods

    OnApplyTemplate()

    Initializes all the child elements of SfUpDown control.

    Declaration
    protected override void OnApplyTemplate()

    OnSpinButtonsAlignmentChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when Spin buttons alignment has changed

    Declaration
    public static void OnSpinButtonsAlignmentChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    Windows.UI.Xaml.DependencyObject obj

    object value

    Windows.UI.Xaml.DependencyPropertyChangedEventArgs args

    property changed event arguments

    OnSpinButtonsAlignmentChanged(DependencyPropertyChangedEventArgs)

    Invoked when Spin buttons alignment has changed

    Declaration
    protected void OnSpinButtonsAlignmentChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    Windows.UI.Xaml.DependencyPropertyChangedEventArgs args

    Property Changed Event Arguments

    Events

    DownButtonClick

    Event that is raised when DownButton is clicked.

    Declaration
    public event RoutedEventHandler DownButtonClick
    Event Type
    Type
    Windows.UI.Xaml.RoutedEventHandler

    UpButtonClick

    Event that is raised when UpButton is clicked.

    Declaration
    public event RoutedEventHandler UpButtonClick
    Event Type
    Type
    Windows.UI.Xaml.RoutedEventHandler

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved