Compartir a través de


RibbonControlService.GetFocusedBackground (Método)

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

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

Sintaxis

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

Parámetros

Valor devuelto

Tipo: System.Windows.Media.Brush
Valor de la propiedad FocusedBackground 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)