編輯

共用方式為


Typography.SetCapitals(DependencyObject, FontCapitals) Method

Definition

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

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

Parameters

element
DependencyObject

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

value
FontCapitals

The new value to set the property to.

Exceptions

Raised when element is null.

Applies to

See also