Skip to main content

ThumbnailOptions

Namespace: Wisej.Web.Ext.JssorSlider

Assembly: Wisej.Web.Ext.JssorSlider (4.1.0.0)

Represents the options of the thumbnail navigator (the panel with the preview images of the slides) of a JssorSlider.

public class ThumbnailOptions : OptionsBase

Example:

Showing a strip of 5 thumbnails that wraps around:

var thumbnails = new ThumbnailOptions(this.jssorSlider1)
{
Visible = true,
Wrap = true,
Columns = 5,
Rows = 1,
SpacingX = 8,
AutoCenterHorizontally = true
};

Constructors​

Instance member ThumbnailOptions(slider)​

Initializes a new instance of the ThumbnailOptions class for the specified slider.

NameTypeDescription
sliderJssorSliderThe JssorSlider that owns these options.

Properties​

Instance member AutoCenterHorizontally​

Boolean: Returns or sets whether the thumbnail navigator is automatically centered horizontally in the slider.

Instance member AutoCenterVertically​

Boolean: Returns or sets whether the thumbnail navigator is automatically centered vertically in the slider.

Instance member Columns​

Int32: Returns or sets the number of thumbnails displayed in the thumbnail navigator at the same time.

The default is 1.

Instance member Orientation​

Orientation: Returns or sets the orientation used to arrange the thumbnails.

The default is Horizontal.

Instance member Rows​

Int32: Returns or sets the number of rows (lanes) used to arrange the thumbnails.

The default is 1.

Instance member ShowOnMouseOver​

Boolean: Returns or sets whether the thumbnail navigator is displayed only when the pointer is over the slider.

Applies only when Visible is true.

Instance member SpacingX​

Int32: Returns or sets the horizontal space in pixels between the thumbnails.

Instance member SpacingY​

Int32: Returns or sets the vertical space in pixels between the thumbnails.

Instance member Visible​

Boolean: Returns or sets whether the thumbnail navigator is displayed.

When ShowOnMouseOver is also true, the thumbnail navigator is displayed only while the pointer is over the slider.

Instance member Wrap​

Boolean: Returns or sets whether the thumbnail navigator wraps around (loops) when it reaches the last thumbnail.