Block.SetIsHyphenationEnabled(DependencyObject, Boolean) Method

Definition

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

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

Parameters

element
DependencyObject

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

value
Boolean

The new value to set the property to.

Exceptions

element is null.

Applies to

See also