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.
- C#
- VB.NET
public class ArrowOptions : OptionsBase
Public Class ArrowOptions
Inherits 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
ArrowOptions(slider)
Initializes a new instance of the ArrowOptions class for the specified slider.
| Name | Type | Description |
|---|---|---|
| slider | JssorSlider | The JssorSlider that owns these options. |
Properties
AutoCenter
Boolean: Returns or sets whether the arrow buttons are automatically centered in the slider.
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.
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.