ImageSliderImageAreaSettings.ItemTextVisibility Property
Enables you to specify the item text area visibility mode in the image area.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(ElementVisibilityMode.OnMouseOver)]
public ElementVisibilityMode ItemTextVisibility { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ElementVisibilityMode | OnMouseOver | 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 ItemTextVisibility |
---|---|---|
ASP.NET Web Forms Controls | ASPxImageSlider |
|
ASP.NET MVC Extensions | ImageSliderSettings |
|
Remarks
The text specified via the ImageSliderItem.Text property is displayed in the item text area. Use the ItemTextVisibility property to control the area’s visibility.
Note
If the ItemTextVisibility property is set to OnMouseOver, the visibility of the item text area under touch devices can be toggled via a tap gesture (a quick up-and-down motion with a finger). Tapping the image area displays the text area. The next tap gesture hides this visual element.