Specifies whether the control add-in can dynamically decrease its width. This setting is optional.
Use this property when the visual content of the add-in is designed to remain usable when width is restricted.
- Control add-in objects
True if the control add-in is allowed to shrink horizontally. The default value is false.
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.
RequestedWidth = 600; HorizontalShrink = true; MinimumWidth = 100;
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.