# MaximumHeight Property
> Version: _Available or changed with runtime version 1.0._
Specifies the maximum height that the control add-in can be stretched to. This setting only applies if the VerticalStretch setting is specified.
## Applies to
 Control Add In
## Value Type
 Integer
## Property Values
The default is the integer's maximum value. If devenv-verticalstretch-property is true but MaximumHeight is not set, the control add-in can expand indefinitely.
## Dependent Property
This setting only applies if devenv-verticalstretch-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
RequestedHeight = 300;
VerticalStretch = true;
MaximumHeight = 500;
```
## 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-maximumheight-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-maximumheight-property/
