ButtonBase.CommandParameter 속성
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
public:
property Platform::Object ^ CommandParameter { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable CommandParameter();
void CommandParameter(IInspectable value);
C#
public object CommandParameter { get; set; }
var object = buttonBase.commandParameter;
buttonBase.commandParameter = object;
Public Property CommandParameter As Object
XAML
<button>
<button.CommandParameter>
object
</button.CommandParameter>
</button>
- or -
<button CommandParameter="objectAsString"/>
Command 속성에 전달할 매개 변수입니다. 기본값은 null입니다.
제품 | 버전 |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |