TdxGalleryControl.AutoSizeMode Property
Specifies the gallery’s auto-size mode.
Declaration
property AutoSizeMode; default asNone;
Property Value
Type | Default |
---|---|
TdxAutoSizeMode | asNone |
Remarks
You can choose one of the following size modes.
Value | Description |
---|---|
asAutoHeight | Specifies whether the gallery’s height is automatically adjusted to completely display its content vertically. If the gallery’s OptionsView.ColumnCount property is set to 0 then the gallery’s height will be automatically adjusted depending upon established Width of the gallery control. |
asAutoSize | Specifies whether gallery is resized to display its entire contents. |
asAutoWidth | Specifies whether the gallery’s width is automatically adjusted to completely display its content horizontally. |
asNone | 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.
AutoSizeMode = asNone | AutoSizeMode = asAutoWidth |
---|---|
The default value of the AutoSizeMode property is asNone.
See Also