Editare

Partajați prin


TextBlock.SetLineStackingStrategy Method

Definition

Sets the value of the LineStackingStrategy attached property on a specified dependency object.

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

Parameters

element
DependencyObject

The dependency object on which to set the value of the LineStackingStrategy property.

value
LineStackingStrategy

The new value to set the property to.

Exceptions

element is null.

Applies to

See also