編輯

共用方式為


ThumbButtonInfo.CommandTarget Property

Definition

Gets or sets the element on which to raise the specified command.

public:
 property System::Windows::IInputElement ^ CommandTarget { System::Windows::IInputElement ^ get(); void set(System::Windows::IInputElement ^ value); };
public System.Windows.IInputElement CommandTarget { get; set; }
member this.CommandTarget : System.Windows.IInputElement with get, set
Public Property CommandTarget As IInputElement

Property Value

The element on which to raise the specified command. The default is null.

Remarks

The CommandTarget property provides a reference to an element that is already defined in your application.

Applies to

See also