LayoutControl.UseDesiredWidthAsMaxWidth Attached Property
Gets or sets whether an item's maximum width is set to a value sufficient to display the item and its content in its entirety. This is an attached property.
true if an item's maximum width is set to a value sufficient to display the item and its content in its entirety; otherwise, false.
If the UseDesiredWidthAsMaxWidth property is enabled, the maximum width is calculated once, when required. The maximum width is not recalculated when the item's content is changed. To recalculate the item's maximum width, set the UseDesiredWidthAsMaxWidth property to False, and then back to True.
A custom value assigned to an item's MaxWidth property overrides the automatically calculated maximum width (the width calculated when the UseDesiredWidthAsMaxWidth option is set to True).