Partager via


NumberBox.SpinButtonPlacementMode Propriété

Définition

Obtient ou définit une valeur qui indique le placement des boutons utilisés pour incrémenter ou décrémenter la propriété Value .

Cette documentation s’applique à WinUI 2 pour UWP (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application Windows).

public:
 property NumberBoxSpinButtonPlacementMode SpinButtonPlacementMode { NumberBoxSpinButtonPlacementMode get(); void set(NumberBoxSpinButtonPlacementMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")]
NumberBoxSpinButtonPlacementMode SpinButtonPlacementMode();

void SpinButtonPlacementMode(NumberBoxSpinButtonPlacementMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")]
NumberBoxSpinButtonPlacementMode SpinButtonPlacementMode();

void SpinButtonPlacementMode(NumberBoxSpinButtonPlacementMode value);
public NumberBoxSpinButtonPlacementMode SpinButtonPlacementMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")]
public NumberBoxSpinButtonPlacementMode SpinButtonPlacementMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::NumberBoxSpinButtonPlacementMode::Hidden")] set; }
Public Property SpinButtonPlacementMode As NumberBoxSpinButtonPlacementMode

Valeur de propriété

Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

S’applique à