共用方式為


Block.SetIsHyphenationEnabled(DependencyObject, Boolean) 方法

定義

設定所指定相依性物件的 IsHyphenationEnabled 附加屬性值。

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 屬性值的相依性物件。

value
Boolean

要設定屬性的目標新值。

例外狀況

elementnull

適用於

另請參閱