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.
- C#
- VB.NET
public class BulletOptions : OptionsBase
Public Class BulletOptions
Inherits 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
BulletOptions(slider)
Initializes a new instance of the BulletOptions class for the specified slider.
| Name | Type | Description |
|---|---|---|
| slider | JssorSlider | The JssorSlider that owns these options. |
Properties
AutoCenterHorizontally
Boolean: Returns or sets whether the bullet navigator is automatically centered horizontally in the slider.
AutoCenterVertically
Boolean: Returns or sets whether the bullet navigator is automatically centered vertically in the slider.
Orientation
Orientation: Returns or sets the orientation used to arrange the bullets.
The default is Horizontal.
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.
SpacingX
Int32: Returns or sets the horizontal space in pixels between the bullets.
SpacingY
Int32: Returns or sets the vertical space in pixels between the bullets.
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.