TdxGalleryControl.AutoSizeMode Property
Specifies the gallery’s auto-size mode.
#Declaration
property AutoSizeMode; default asNone;
#Property Value
Type | Default |
---|---|
Tdx |
as |
#Remarks
You can choose one of the following size modes.
Value | Description |
---|---|
as |
Specifies whether the gallery’s height is automatically adjusted to completely display its content vertically. If the gallery’s Options |
as |
Specifies whether gallery is resized to display its entire contents. |
as |
Specifies whether the gallery’s width is automatically adjusted to completely display its content horizontally. |
as |
The gallery’s size is not automatically adjusted and specified by its Width and Height properties. The gallery will display a vertical scrollbar if required. |
The following images demonstrate this property’s effect on a control’s appearance.
Auto |
Auto |
---|---|
![]() |
![]() |
The default value of the AutoSizeMode property is asNone.