title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
VerticalStretch property |
VerticalStretch specifies that the control add-in can be made larger vertically. |
solsen |
08/26/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 1.0.
VerticalStretch specifies that the control add-in can be made larger vertically. This setting is optional.
- Control Add In
Note
Use this property when the visual content of the add-in is designed to remain usable when height is increased.
Note
VerticalStretch is only supported when the control add-in is displayed in a CardPart on Role Center pages, or when it is the only content displayed in a Card page.
True if the control add-in is allowed to stretch vertically. The default value is false.
VerticalStretch is typically used together with the MaximumHeight property. If VerticalStretch is true but MaximumHeight is not set, the control add-in can stretch indefinitely.
RequestedHeight = 300;
VerticalStretch = true;
MaximumHeight = 500;