Skip to main content

TdxImageSliderPreviewOptions.Size Property

Specifies the size of the preview panel, in pixels.

Declaration

property Size: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

A zero assigned to this property (the default value) indicates that the preview panel is automatically sized to entirely display its thumbnail images according to their size and padding, in one column/row. Otherwise, the property value specifies one of the following panel dimensions, based on its orientation (position):

  • The height of the horizontally oriented panel (when it is positioned at the top or bottom edge of the image slider control).

  • The width of the vertically oriented panel (when it is positioned at the left or right edge of the image slider control).

In this instance, the number of columns/rows into which thumbnail images are arranged is determined so that the preview panel displays as many of them as possible without cropping, provided that there is sufficient space for the specified padding.

Use the Resizable property to control if end-users can resize the preview panel using the splitter located between the preview panel and the currently displayed image.

The default value of the Size property is 0.

See Also