# 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 devenv-horizontalstretch-property is true but MaximumWidth is not set, the control add-in can expand indefinitely.
## Dependent Property
This setting only applies if devenv-horizontalstretch-property 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
```al
RequestedWidth = 600;
HorizontalStretch = true;
MaximumWidth = 800;
```
## Related information
Control Add-In Object<../devenv-control-addin-object>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-maximumwidth-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-maximumwidth-property/
