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 VerticalStretch is true but MaximumHeight is not set, the control add-in can expand indefinitely.

Dependent Property

This setting only applies if VerticalStretch 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

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

See Also

Control Add-In Object