語言

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 的相依物件。

傳回

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

屬性

適用於

另請參閱