RibbonTwoLineText::SetHasTwoLines Method (DependencyObject^, Boolean)

.NET Framework (current version)
 

Sets 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 void SetHasTwoLines(
	DependencyObject^ element,
	bool value
)

Parameters

element
Type: System.Windows::DependencyObject^

The object to which the attached property is written.

value
Type: System::Boolean

The value to set.

Exception Condition
ArgumentNullException

The specified element is null.

.NET Framework
Available since 4.5
Return to top
Show: