MaximumHeight Property

Specifies the maximum size in pixels to which the control add-in can dynamically increase its height.

Applies to

  • Control add-in objects

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.


Use this property when the visual content of the add-in is no longer usable or no longer visually appealing beyond a certain size.

Code Example

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

See Also

Control Add-In Object