Redigera

Dela via


RibbonTwoLineText.GetHasTwoLines(DependencyObject) Method

Definition

Gets the value of the HasTwoLines attached property for an object.

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

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

The object's HasTwoLines property value.

Exceptions

The specified element is null.

Applies to