RibbonTwoLineText.LineStackingStrategy Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the mechanism by which the line box is determined for each line of content.

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

public LineStackingStrategy LineStackingStrategy { get; set; }

Property Value

Type: System.Windows.LineStackingStrategy

One of the enumeration values that specifies how the line box is determined for each line of text. The default is LineStackingStrategy.MaxHeight.

This property gets or sets the value of the LineStackingStrategy property of the control’s internal TextBlock. For more information, see TextBlock.LineStackingStrategy.

Identifier field


Metadata properties set to true


.NET Framework
Available since 4.5
Return to top