Skip to main content
ON

DXButtonBase.RippleEffectPosition Property

Gets or sets whether to show ripple effects in front of button content or behind it. This is a bindable property.

Namespace: DevExpress.Maui.Core

Assembly: DevExpress.Maui.Core.dll

NuGet Package: DevExpress.Maui.Core

Declaration

public RippleEffectPosition RippleEffectPosition { get; set; }

Property Value

Type Description
RippleEffectPosition

A value that specifies how to show ripple effects regarding button content.

Available values:

Name Description
Background

Ripple effects are displayed behind control content.

Foreground

Ripple effects are displayed in front of control content.

Remarks

The animations below show a DXButton with different RippleEffectPosition property values:

RippleEffectPosition = “Background” RippleEffectPosition = “Foreground”
DevExpress Button for .NET MAUI - RippleEffectPosition.Background DevExpress Button for .NET MAUI - RippleEffectPosition.Foreground

Example

The following example enables ripple effects for a button:

DevExpress Button for .NET MAUI - Ripple effects

<dx:DXButton ...
             UseRippleEffect="True"
             RippleEffectPosition="Foreground">
See Also