TextElement.GetFontWeight(DependencyObject) Metoda

Definicja

Zwraca wartość dołączonej FontWeight właściwości dla określonego obiektu zależności.

public:
 static System::Windows::FontWeight GetFontWeight(System::Windows::DependencyObject ^ element);
public static System.Windows.FontWeight GetFontWeight (System.Windows.DependencyObject element);
static member GetFontWeight : System.Windows.DependencyObject -> System.Windows.FontWeight
Public Shared Function GetFontWeight (element As DependencyObject) As FontWeight

Parametry

element
DependencyObject

Obiekt zależności, dla którego ma pobrać wartość FontWeight właściwości.

Zwraca

FontWeight

Bieżąca wartość dołączonej FontWeight właściwości dla określonego obiektu zależności.

Wyjątki

Dotyczy

Zobacz też