次の方法で共有


NumberBox.SpinButtonPlacementMode プロパティ

定義

Value プロパティのインクリメントまたはデクリメントに使用するボタンの配置を示す値を取得または設定します。

このドキュメントは、WinUI 2 for UWP に適用されます (Windows アプリ SDKWinUI については、Windows アプリ SDK名前空間を参照してください)。

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

プロパティ値

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

適用対象