TextBlock.GetFontFamily(DependencyObject) 메서드

정의

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

public:
 static System::Windows::Media::FontFamily ^ GetFontFamily(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.FontFamily GetFontFamily (System.Windows.DependencyObject element);
static member GetFontFamily : System.Windows.DependencyObject -> System.Windows.Media.FontFamily
Public Shared Function GetFontFamily (element As DependencyObject) As FontFamily

매개 변수

element
DependencyObject

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

반환

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

예외

element이(가) null인 경우

적용 대상

추가 정보