Edit

Share via


Typography.GetCapitals(DependencyObject) Method

Definition

Returns the value of the Capitals attached property for a specified dependency object.

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

Parameters

element
DependencyObject

The dependency object for which to retrieve the value of the Capitals property.

Returns

The current value of the Capitals attached property on the specified dependency object.

Attributes

Applies to

See also