共用方式為


Typography.GetNumeralAlignment(DependencyObject) 方法

定義

傳回所指定相依性物件的 NumeralAlignment 附加屬性值。

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

參數

element
DependencyObject

要擷取 NumeralAlignment 屬性值的相依性物件。

傳回

FontNumeralAlignment

所指定相依性物件上 NumeralAlignment 附加屬性的目前值。

屬性

適用於

另請參閱