Edit

Share via


Fill Text subpattern

Note

Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.

This article provides information about the Fill Text subpattern. This subpattern is used when a single String or StaticText control must stretch to the full width of the container, so that users have more space to enter information.

Usage

Fill Text is used when you need a single String or StaticText control to stretch to the full width of the container. This subpattern is typically used for multi-line string controls that require more space for users to enter information.

Model

High-level structure

[Container]

String | StaticText

Core components

  • Apply the Fill Text subpattern to the container control.

UX guidelines

None

Resources

Typically used by patterns

Appendix

Open issues

  • The pattern currently sets the HeightMode property of the control to SizeToAvailable, which can produce tall string controls if the pattern is used in a SizeToAvailable container. We’re investigating whether this control should use SizeToContent height, or whether it shouldn't set the property at all and should instead let the developer decide the appropriate control height.