Skip to main content

ArrowOptions

Namespace: Wisej.Web.Ext.JssorSlider

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

Represents the options of the arrow navigator (the left and right buttons) of a JssorSlider.

public class ArrowOptions : OptionsBase

Example:

Showing the navigation arrows centered vertically, only when the pointer is over the slider:

var arrows = new ArrowOptions(this.jssorSlider1)
{
Visible = true,
ShowOnMouseOver = true,
AutoCenter = true
};

Constructors​

Instance member ArrowOptions(slider)​

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

NameTypeDescription
sliderJssorSliderThe JssorSlider that owns these options.

Properties​

Instance member AutoCenter​

Boolean: Returns or sets whether the arrow buttons are automatically centered in the slider.

Instance member ShowOnMouseOver​

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

Applies only when Visible is true.

Instance member Visible​

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

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