Set pane properties: display mode
- Last UpdatedDec 05, 2024
- 2 minute read
The Display Mode property can be assigned three values that determine how content appears during runtime when the size of the containing pane changes size.
|
Display Mode Values |
Description |
||
|
Maintain Aspect |
The width and height ratio of content is maintained when a pane is resized larger or smaller. In the case when content exceeds the pane's width or height, the content is aligned within the pane based on on the assigned Alignment and Padding property values. The content is truncated in the dimension that is larger than the pane's width or height. In the case when the entire content fits within a pane's dimensions, the content is positioned within the pane based on the assigned Alignment and Padding property values.
|
||
|
Maintain Size |
The dimensions of a piece of content remain constant when a pane is resized. When the content is smaller than the pane, the content is positioned within the pane based on the assigned Alignment and Padding property values. In the case when the size of a piece of content exceeds the dimensions of a pane, the content is centered in the pane and truncated in any dimension that exceeds the pane's width or height.
|
||
|
Stretch |
The width and height of a piece of content adjust to fit the dimensions of a pane. In the case of a pane becoming smaller, the Alignment property value is ignored.
|




