Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / ButtonSpinner Class / ValidSpinDirections Property


In This Topic
    ValidSpinDirections Property
    In This Topic
    Gets or sets the ValidSpinDirections.
    Syntax
    'Declaration
     
    
    Public Property ValidSpinDirections As ValidSpinDirections
    'Usage
     
    
    Dim instance As ButtonSpinner
    Dim value As ValidSpinDirections
     
    instance.ValidSpinDirections = value
     
    value = instance.ValidSpinDirections
    public ValidSpinDirections ValidSpinDirections {get; set;}
    Remarks

    The default values are Increase and Decrease, which activate both RepeatButtons.

    Note, however, that this property takes the values of the MaximumMinimum properties into account, which means that if a value reaches the value set in the Maximum property, the Up RepeatButton will automatically be deactivated because it cannot continue to increase said value anymore; the same thing would happen to the Down RepeatButton if the value reaches the threshold set via the Minimum property.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also