Lingua

RibbonControlService.GetLabel(DependencyObject) Metodo

Definizione

Ottiene il valore della Label proprietà associata per un oggetto .

public:
 static System::String ^ GetLabel(System::Windows::DependencyObject ^ element);
public static string GetLabel(System.Windows.DependencyObject element);
static member GetLabel : System.Windows.DependencyObject -> string
Public Shared Function GetLabel (element As DependencyObject) As String

Parametri

element
DependencyObject

Oggetto da cui viene letto il valore della proprietà.

Valori restituiti

Valore della proprietà dell'oggetto Label .

Eccezioni

L'oggetto specificato element è null.

Si applica a