Typography.GetCapitals(DependencyObject) 方法

定義

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

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

參數

element
DependencyObject

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

傳回

FontCapitals

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

屬性

適用於

另請參閱