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

适用于

另请参阅