Version

OptimizeWidthMeasurement Property

Gets or sets the value which indicates whether to optimize the width measurement.
Syntax
'Declaration
 
Public Property OptimizeWidthMeasurement As Boolean
public bool OptimizeWidthMeasurement {get; set;}
Remarks

To increase performance, the SimpleTextBlock doesn't measure its content's width. It instead uses the available width. However, this may cause issues with alignment. If it does, this should be set to False.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also