語言

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

設定屬性的新值。

例外狀況

element 是 null。

適用於

另請參閱