Typography.SetVariants(DependencyObject, FontVariants) 메서드

정의

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

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

매개 변수

element
DependencyObject

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

value
FontVariants

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

예외

elementnull일 때 발생합니다.

적용 대상

추가 정보