Typography.GetFraction(DependencyObject) 方法

定义

返回指定依赖对象的附加属性的值 Fraction

public:
 static System::Windows::FontFraction GetFraction(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.FontFraction GetFraction(System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetFraction : System.Windows.DependencyObject -> System.Windows.FontFraction
Public Shared Function GetFraction (element As DependencyObject) As FontFraction

参数

element
DependencyObject

要为其检索属性值的 Fraction 依赖项对象。

返回

指定依赖对象的附加属性的 Fraction 当前值。

属性

适用于

另请参阅