Block.SetIsHyphenationEnabled(DependencyObject, Boolean) メソッド

定義

指定した依存関係オブジェクトの IsHyphenationEnabled 添付プロパティの値を設定します。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)

パラメーター

element
DependencyObject

IsHyphenationEnabled プロパティの値の設定対象となる依存関係オブジェクト。The dependency object on which to set the value of the IsHyphenationEnabled property.

value
Boolean

プロパティに設定する新しい値。The new value to set the property to.

例外

elementnull です。element is null.

適用対象

こちらもご覧ください