Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.55 KB

devenv-verticalstretch-property.md

File metadata and controls

49 lines (34 loc) · 1.55 KB
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

VerticalStretch Property

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.

Applies to

  • 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.

Property Values

True if the control add-in is allowed to stretch vertically. The default value is false.

Remarks

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.

Example

RequestedHeight = 300;
VerticalStretch = true;
MaximumHeight = 500;

Related information

Control Add-In Object