TextBlock.GetFontWeight(DependencyObject) 메서드

정의

지정된 종속성 개체에 대한 FontWeight 연결된 속성의 값을 반환합니다.

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

매개 변수

element
DependencyObject

FontWeight 연결된 속성의 값을 검색할 종속성 개체입니다.

반환

FontWeight

지정된 종속성 개체에 대한 FontWeight 연결 속성의 현재 값입니다.

예외

element이(가) null인 경우

적용 대상

추가 정보