Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

AccessText.LineStackingStrategy Property

Gets or sets how the LineHeight property is enforced.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

'Declaration
Public Property LineStackingStrategy As LineStackingStrategy
'Usage
Dim instance As AccessText
Dim value As LineStackingStrategy

value = instance.LineStackingStrategy

instance.LineStackingStrategy = value
/** @property */
public LineStackingStrategy get_LineStackingStrategy ()

/** @property */
public void set_LineStackingStrategy (LineStackingStrategy value)

public function get LineStackingStrategy () : LineStackingStrategy

public function set LineStackingStrategy (value : LineStackingStrategy)

<object LineStackingStrategy="LineStackingStrategy" .../>

Property Value

A LineStackingStrategy value that determines the behavior of the LineHeight property.

LineHeight properties control the line box that is reserved for text. LineHeight allows users to set a suggestion of height. LineStackingStrategy defines how the LineHeight is enforced.

You can set the LineStackingStrategy property to MaxHeight or BlockLineHeight.

  • The MaxHeight value increases the line to the tallest object in the line. It ensures that no item overdraws or is trimmed.

  • The BlockLineHeight value enforces a LineHeight value on all lines. If the LineHeight property does not provide sufficient space, the text is either overdrawn or trimmed. Which occurs depends on the ClipProperty value.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.