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 附加屬性的目前值。

例外狀況

elementnull

適用於

另請參閱