RibbonTwoLineText.GetHasTwoLines(DependencyObject) 方法

定義

取得物件之 HasTwoLines 附加屬性的值。

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

參數

element
DependencyObject

要讀取屬性值的物件。

傳回

物件的 HasTwoLines 屬性值。

例外狀況

指定的 elementnull

適用於