Typography.SetCapitals(DependencyObject, FontCapitals) 方法

定义

设置指定依赖对象的附加属性的值 Capitals

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

参数

element
DependencyObject

要为其设置属性值的 Capitals 依赖对象。

value
FontCapitals

要将属性设置为的新值。

例外

elementnull..

适用于

另请参阅