Compartir a través de


RibbonGallery.PreviewCommandParameter (Propiedad)

Obtiene o establece un valor de datos definido por el usuario que se va a pasar al comando cuando éste se muestra una vista preliminar.

Espacio de nombres:  Microsoft.Windows.Controls.Ribbon
Ensamblado:  RibbonControlsLibrary (en RibbonControlsLibrary.dll)

Sintaxis

'Declaración
Public Property PreviewCommandParameter As Object
    Get
    Set
public Object PreviewCommandParameter { get; set; }
public:
virtual property Object^ PreviewCommandParameter {
    Object^ get () sealed;
    void set (Object^ value) sealed;
}
abstract PreviewCommandParameter : Object with get, set
override PreviewCommandParameter : Object with get, set
final function get PreviewCommandParameter () : Object
final function set PreviewCommandParameter (value : Object)

Valor de propiedad

Tipo: System.Object
Un valor de datos definido por el usuario que se va a pasar al comando.El valor predeterminado registrado es nullreferencia null (Nothing en Visual Basic).Para obtener más información sobre lo que puede afectar al valor, vea Prioridad de los valores de propiedades de dependencia.

Implementaciones

IPreviewCommandSource.PreviewCommandParameter

Información sobre propiedades de dependencia

Campo de identificador

PreviewCommandParameterProperty

Propiedades de metadatos establecidas en true.

Ninguno

Seguridad de .NET Framework

Vea también

Referencia

RibbonGallery Clase

Microsoft.Windows.Controls.Ribbon (Espacio de nombres)

Otros recursos

Información general sobre comandos