Redigera

Dela via


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;

Control Add-In Object