Compartir a través de


RibbonControlService.GetPressedBackground (Método)

Obtiene el valor de la propiedad adjunta PressedBackground de un objeto.

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

Sintaxis

'Declaración
Public Shared Function GetPressedBackground ( _
    element As DependencyObject _
) As Brush
public static Brush GetPressedBackground(
    DependencyObject element
)
public:
static Brush^ GetPressedBackground(
    DependencyObject^ element
)
static member GetPressedBackground : 
        element:DependencyObject -> Brush 
public static function GetPressedBackground(
    element : DependencyObject
) : Brush

Parámetros

Valor devuelto

Tipo: System.Windows.Media.Brush
Valor de la propiedad PressedBackground del objeto.

Excepciones

Excepción Condición
ArgumentNullException

El element especificado es nullreferencia null (Nothing en Visual Basic).

Seguridad de .NET Framework

Vea también

Referencia

RibbonControlService Clase

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