語言

Block.GetIsHyphenationEnabled(DependencyObject) 方法

定義

回傳指定相依物件所附屬性的 IsHyphenationEnabled 值。

public:
 static bool GetIsHyphenationEnabled(System::Windows::DependencyObject ^ element);
public static bool GetIsHyphenationEnabled(System.Windows.DependencyObject element);
static member GetIsHyphenationEnabled : System.Windows.DependencyObject -> bool
Public Shared Function GetIsHyphenationEnabled (element As DependencyObject) As Boolean

參數

element
DependencyObject

從中取得屬性值 IsHyphenationEnabled 的相依物件。

傳回

附加屬性在指定相依物件上的 IsHyphenationEnabled 當前值。

例外狀況

element 是 null。

適用於

另請參閱