Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.41 KB

devenv-maximumwidth-property.md

File metadata and controls

50 lines (34 loc) · 1.41 KB
title description ms.author ms.date ms.topic author ms.reviewer
MaximumWidth property
Specifies the maximum width that the control add-in can be stretched to.
solsen
08/26/2024
reference
SusanneWindfeldPedersen
solsen

MaximumWidth Property

Version: Available or changed with runtime version 1.0.

Specifies the maximum width that the control add-in can be stretched to. This setting only applies if the HorizontalStretch setting is specified.

Applies to

  • Control Add In

Value Type

  • Integer

Property Values

The default is the integer’s maximum value. If HorizontalStretch is true but MaximumWidth is not set, the control add-in can expand indefinitely.

Dependent Property

This setting only applies if HorizontalStretch is set to true.

Remarks

Use this property when the visual content of the add-in is no longer usable or no longer visually appealing beyond a certain size.

Example

RequestedWidth = 600;
HorizontalStretch = true;
MaximumWidth = 800;

Related information

Control Add-In Object