{"title":"MaximumWidth Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-maximumwidth-property/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-maximumwidth-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Specifies the maximum width that the control add-in can be stretched to.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":206,"chars":30},{"level":2,"title":"Value Type","slug":"value-type","at":236,"chars":23},{"level":2,"title":"Property Values","slug":"property-values","at":259,"chars":181},{"level":2,"title":"Dependent Property","slug":"dependent-property","at":440,"chars":101},{"level":2,"title":"Remarks","slug":"remarks","at":541,"chars":142},{"level":2,"title":"Example","slug":"example","at":683,"chars":89},{"level":2,"title":"Related information","slug":"related-information","at":772,"chars":76}],"text":"> Version: _Available or changed with runtime version 1.0._\nSpecifies the maximum width that the control add-in can be stretched to. This setting only applies if the HorizontalStretch setting is specified.\n## Applies to\n Control Add In\n## Value Type\n Integer\n## Property Values\nThe 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.\n## Dependent Property\nThis setting only applies if devenv-horizontalstretch-property is set to true.\n## Remarks\nUse this property when the visual content of the add-in is no longer usable or no longer visually appealing beyond a certain size.\n## Example\n```al\nRequestedWidth = 600;\nHorizontalStretch = true;\nMaximumWidth = 800;\n```\n## Related information\nControl Add-In Object<../devenv-control-addin-object>"}