TextElement.SetFontStyle(DependencyObject, FontStyle) 메서드

정의

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

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

매개 변수

element
DependencyObject

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

value
FontStyle

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

예외

d이(가) null인 경우

적용 대상

추가 정보