TdxCustomLayoutGroup.ScrollOptions Property
Provides access to layout group scroll settings.
Declaration
property ScrollOptions: TdxLayoutGroupScrollOptions read; write;
Property Value
Type | Description |
---|---|
TdxLayoutGroupScrollOptions | Stores layout group scroll settings. |
Remarks
A layout group can display horizontal and vertical scroll bars if group content does not fit horizontally or vertically.
Available Options
Use ScrollOptions
.Horizontal and ScrollOptions
.Vertical properties to switch between three available modes (smNone, smAuto, and smIndependent) for horizontal and vertical group content scrolling.
Refer to the TdxLayoutGroupScrollOptions class description for detailed information on group content scroll settings.
Parent and Nested Groups
A group with scrollable content can contain nested groups. In turn, each nested group can display scrollable content. Content scroll behavior for the current group depends on ScrollOptions
.Horizontal and ScrollOptions
.Vertical property values and the same settings defined at the parent group level. For example, the parent group does not affect nested group behavior if the parent group’s ScrollOptions
.Horizontal and ScrollOptions
.Vertical properties are set to smNone.
Refer to the TdxLayoutGroupScrollMode type description for detailed information on all content scroll modes available for groups.