Block.SetIsHyphenationEnabled(DependencyObject, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置指定依赖对象的附加属性的值 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。