Skip to main content
ON

DXButtonBase.UseRippleEffect Property

Gets or sets whether to show ripple effects when a users taps the button. This is a bindable property.

Namespace: DevExpress.Maui.Core

Assembly: DevExpress.Maui.Core.dll

NuGet Package: DevExpress.Maui.Core

Declaration

public bool? UseRippleEffect { get; set; }

Property Value

Type Description
Nullable<Boolean>

A value that specifies whether to show ripple effects depending on the button type. Initially, ripple effects are enabled for all button types except ToolButton.

Remarks

Depending on the button’s type and state, ripple effects use different fill colors: DXButtonBase.PressedBackgroundColor or DXToggleButton.CheckedPressedBackgroundColor.

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