Edit

Share via


Typography.GetAnnotationAlternates(DependencyObject) Method

Definition

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

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

Parameters

element
DependencyObject

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

Returns

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

Attributes

Exceptions

Raised when element is null.

Applies to

See also