Share via


Typography.GetContextualAlternates(DependencyObject) Method

Definition

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

public:
 static bool GetContextualAlternates(DependencyObject ^ element);
 static bool GetContextualAlternates(DependencyObject const& element);
public static bool GetContextualAlternates(DependencyObject element);
function getContextualAlternates(element)
Public Shared Function GetContextualAlternates (element As DependencyObject) As Boolean

Parameters

element
DependencyObject

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

Returns

Boolean

bool

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

Applies to

See also