Typography.GetFraction(DependencyObject) Method

Definition

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

public:
 static FontFraction GetFraction(DependencyObject ^ element);
 static FontFraction GetFraction(DependencyObject const& element);
public static FontFraction GetFraction(DependencyObject element);
function getFraction(element)
Public Shared Function GetFraction (element As DependencyObject) As FontFraction

Parameters

element
DependencyObject

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

Returns

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

Applies to

See also