TextBlock.GetFontSize(DependencyObject) 메서드

정의

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

public:
 static double GetFontSize(System::Windows::DependencyObject ^ element);
[System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))]
public static double GetFontSize (System.Windows.DependencyObject element);
[<System.ComponentModel.TypeConverter(typeof(System.Windows.FontSizeConverter))>]
static member GetFontSize : System.Windows.DependencyObject -> double
Public Shared Function GetFontSize (element As DependencyObject) As Double

매개 변수

element
DependencyObject

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

반환

Double

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

특성

예외

element이(가) null인 경우

적용 대상

추가 정보