Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the element on which to raise the specified command.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Property CommandTarget As IInputElement
public IInputElement CommandTarget { get; set; }
public:
virtual property IInputElement^ CommandTarget {
IInputElement^ get () sealed;
void set (IInputElement^ value) sealed;
}
abstract CommandTarget : IInputElement with get, set
override CommandTarget : IInputElement with get, set
final function get CommandTarget () : IInputElement
final function set CommandTarget (value : IInputElement)
Property Value
Type: System.Windows.IInputElement
The element on which to raise the specified command. The default is nulla null reference (Nothing in Visual Basic).
Implements
Remarks
The CommandTarget property provides a reference to an element that is already defined in your application.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Shell Namespace