Skip to main content

BulletOptions

Namespace: Wisej.Web.Ext.JssorSlider

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

Represents the options of the bullet navigator (the row of dots indicating the current slide) of a JssorSlider.

public class BulletOptions : OptionsBase

Example:

Showing the bullets at the bottom center of the slider with 10 pixels between them:

var bullets = new BulletOptions(this.jssorSlider1)
{
Visible = true,
AutoCenterHorizontally = true,
Orientation = Orientation.Horizontal,
SpacingX = 10
};

Constructors​

Instance member BulletOptions(slider)​

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

NameTypeDescription
sliderJssorSliderThe JssorSlider that owns these options.

Properties​

Instance member AutoCenterHorizontally​

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

Instance member AutoCenterVertically​

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

Instance member Orientation​

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

The default is Horizontal.

Instance member ShowOnMouseOver​

Boolean: Returns or sets whether the bullet 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 bullets.

Instance member SpacingY​

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

Instance member Visible​

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

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