HorizontalShrink Property

Version: Available or changed with runtime version 1.0.

HorizontalShrink specifies that the control add-in can be made smaller horizontally. This setting is optional.

Applies to

  • Control Add In

Property Values

True if the control add-in is allowed to shrink horizontally. The default value is false.

Remarks

HorizontalShrink is typically used together with the MinimumWidth property. If HorizontalShrink is true but MinimumWidth is not set, the control add-in can shrink to nothing. When the add-in shrinks in size, the visual content must remain visible and accessible to users. To provide the best experience, consider implementing a responsive design that can adapt to reduced space and horizontal scrollbars.

Example

RequestedWidth = 600;
HorizontalShrink = true;
MinimumWidth = 100;

Control Add-In Object