MaximumWidth Property

Version: Available or changed with runtime version 1.0.

Specifies the maximum width that the control add-in can be stretched to. This setting only applies if the HorizontalStretch setting is specified.

Applies to

  • Control Add In

Value Type

  • Integer

Property Values

The default is the integer’s maximum value. If HorizontalStretch is true but MaximumWidth is not set, the control add-in can expand indefinitely.

Dependent Property

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

RequestedWidth = 600;
HorizontalStretch = true;
MaximumWidth = 800;

Control Add-In Object