ButtonBase.CommandParameter Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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"/>
The parameter to pass to the Command property. The default is null.
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |