編輯

共用方式為


Typography.SetNumeralAlignment(DependencyObject, FontNumeralAlignment) Method

Definition

Sets the value of the NumeralAlignment attached property for a specified dependency object.

public:
 static void SetNumeralAlignment(System::Windows::DependencyObject ^ element, System::Windows::FontNumeralAlignment value);
public static void SetNumeralAlignment (System.Windows.DependencyObject element, System.Windows.FontNumeralAlignment value);
static member SetNumeralAlignment : System.Windows.DependencyObject * System.Windows.FontNumeralAlignment -> unit
Public Shared Sub SetNumeralAlignment (element As DependencyObject, value As FontNumeralAlignment)

Parameters

element
DependencyObject

The dependency object for which to set the value of the NumeralAlignment property.

value
FontNumeralAlignment

The new value to set the property to.

Exceptions

Raised when element is null.

Applies to

See also