Modifier

Partager via


Typography.GetFraction(DependencyObject) Method

Definition

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

public:
 static System::Windows::FontFraction GetFraction(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.FontFraction GetFraction (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetFraction : System.Windows.DependencyObject -> System.Windows.FontFraction
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.

Attributes

Applies to

See also