NumberBox.SpinButtonPlacementMode 属性

定义

获取或设置一个值,该值指示用于递增或递减 Value 属性的按钮的位置。

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

属性值

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于