ImageSliderSlideShowSettings.PlayPauseButtonVisibility Property
Enables you to specify the play and pause buttons visibility mode in the image area.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(ElementVisibilityMode.None)]
public ElementVisibilityMode PlayPauseButtonVisibility { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ElementVisibilityMode | None | One of the ElementVisibilityMode enumeration values. |
Available values:
Name | Description |
---|---|
None | The element is not displayed. |
Faded | The element is always visible. When a mouse is not over the element, it is faded. Note, on touch devices the “mouse over” behavior can be simulated by tapping the image area. |
OnMouseOver | The element is displayed when the mouse is over the corresponding area. Note, on touch devices the “mouse over” behavior can be simulated by tapping the image area. |
Always | The element is always visible. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to PlayPauseButtonVisibility |
---|---|---|
ASP.NET Web Forms Controls | ASPxImageSlider |
|
ASP.NET MVC Extensions | ImageSliderSettings |
|
Remarks
The ASPxImageSlider control has a built-in slide show functionality. You can use the PlayPauseButtonVisibility property to specify play and pause buttons visibility. The slide show settings can be customized via the ASPxImageSlider.SettingsSlideShow property.
On the client side you can play and pause the slide show using the ASPxClientImageSlider.Play and ASPxClientImageSlider.Pause methods respectively. To determine whether the side show is playing, use the ASPxClientImageSlider.IsSlideShowPlaying method.