RibbonGallery.CommandTarget Property

Definition

Gets or sets the element on which to invoke 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 invoke the command. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

Remarks

Dependency Property Information

Identifier field CommandTargetProperty
Metadata properties set to true None

Applies to