Freigeben über


NumberBox.SpinButtonPlacementMode Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der die Platzierung von Schaltflächen angibt, die zum Inkrementieren oder Verringern der Value-Eigenschaft verwendet werden.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

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

Eigenschaftswert

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: