Typography.SetFraction(DependencyObject, FontFraction) 方法

定义

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

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

参数

element
DependencyObject

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

value
FontFraction

要将属性设置为的新值。

例外

elementnull..

适用于

另请参阅