0 out of 1 rated this helpful - Rate this topic

ButtonBase.CommandParameter property

Gets or sets the parameter to pass to the Command property.

Syntax


public object CommandParameter { get; set; }


<button>
  <button.CommandParameter>
    object
  </button.CommandParameter>
</button>


<button CommandParameter="objectAsString"/>

Property value

Type: System.Object [.NET] | Platform::Object [C++]

The parameter to pass to the Command property. The default is null.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.winmd

See also

ButtonBase

 

 

Build date: 3/12/2013

© 2013 Microsoft. All rights reserved.