RibbonTwoLineText.LineStackingStrategy Property
Gets or sets the mechanism by which the line box is determined for each line of content.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property LineStackingStrategy As LineStackingStrategy
public LineStackingStrategy LineStackingStrategy { get; set; }
public:
property LineStackingStrategy LineStackingStrategy {
LineStackingStrategy get ();
void set (LineStackingStrategy value);
}
member LineStackingStrategy : LineStackingStrategy with get, set
function get LineStackingStrategy () : LineStackingStrategy
function set LineStackingStrategy (value : LineStackingStrategy)
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.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
Remarks
This property gets or sets the value of the LineStackingStrategy property of the control’s internal TextBlock. For more information, see TextBlock.LineStackingStrategy.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.