Compartir a través de


ThumbButtonInfo.CommandTarget (Propiedad)

Obtiene o establece el elemento en el que se produce el comando especificado.

Espacio de nombres:  Microsoft.Windows.Shell
Ensamblado:  Microsoft.Windows.Shell (en Microsoft.Windows.Shell.dll)

Sintaxis

'Declaración
Public Property CommandTarget As IInputElement
    Get
    Set
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)

Valor de propiedad

Tipo: System.Windows.IInputElement
Elemento en el que se produce el comando especificado.El tipo predeterminado es nullreferencia null (Nothing en Visual Basic).

Implementaciones

ICommandSource.CommandTarget

Comentarios

La propiedad CommandTarget proporciona una referencia a un elemento que ya está definido en la aplicación.

Seguridad de .NET Framework

Vea también

Referencia

ThumbButtonInfo Clase

Microsoft.Windows.Shell (Espacio de nombres)

CommandTarget

Otros recursos

Información general sobre comandos