TextBlock.SetFontSize(DependencyObject, Double) 메서드

정의

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

public:
 static void SetFontSize(System::Windows::DependencyObject ^ element, double value);
public static void SetFontSize (System.Windows.DependencyObject element, double value);
static member SetFontSize : System.Windows.DependencyObject * double -> unit
Public Shared Sub SetFontSize (element As DependencyObject, value As Double)

매개 변수

element
DependencyObject

FontSize 속성의 값을 설정할 종속성 개체입니다.

value
Double

속성에 설정할 새 값입니다.

예외

element이(가) null인 경우

적용 대상

추가 정보