RibbonTwoLineText::GetHasTwoLines Method (DependencyObject^)

.NET Framework (current version)
 

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

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public:
static bool GetHasTwoLines(
	DependencyObject^ element
)

Parameters

element
Type: System.Windows::DependencyObject^

The object from which the property value is read.

Return Value

Type: System::Boolean

The object’s HasTwoLines property value.

Exception Condition
ArgumentNullException

The specified element is null.

.NET Framework
Available since 4.5
Return to top
Show: