Back to Devexpress

DXButtonBase.UseRippleEffect Property

maui-devexpress-dot-maui-dot-core-dot-dxbuttonbase-af0e79b8.md

latest1.7 KB
Original Source

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

csharp
public bool? UseRippleEffect { get; set; }

Property Value

TypeDescription
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:

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

See Also

DXButtonBase Class

DXButtonBase Members

DevExpress.Maui.Core Namespace