Bagikan melalui


NumberBox.SpinButtonPlacementMode Properti

Definisi

Mendapatkan atau menetapkan nilai yang menunjukkan penempatan tombol yang digunakan untuk menambah atau mengurangi properti Nilai .

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; }
var numberBoxSpinButtonPlacementMode = numberBox.spinButtonPlacementMode;
numberBox.spinButtonPlacementMode = numberBoxSpinButtonPlacementMode;
Public Property SpinButtonPlacementMode As NumberBoxSpinButtonPlacementMode

Nilai Properti

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk