TextBlock.SetFontWeight(DependencyObject, FontWeight) 메서드

정의

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

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

매개 변수

element
DependencyObject

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

value
FontWeight

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

예외

element이(가) null인 경우

적용 대상

추가 정보