Share via


SplitButton.CommandParameter 屬性

定義

取得或設定要傳遞至 Command 屬性的參數。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.SplitButton.CommandParameter (在Windows 應用程式 SDK中,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property Platform::Object ^ CommandParameter { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable CommandParameter();

void CommandParameter(IInspectable value);
public object CommandParameter { get; set; }
var object = splitButton.commandParameter;
splitButton.commandParameter = object;
Public Property CommandParameter As Object

屬性值

Object

Platform::Object

IInspectable

要傳遞至 Command 屬性的參數。 預設值為 null

適用於