Skip to main content

SimpleButton.ShowShadow Property

Gets or sets the button shadow visibility. This is a bindable property.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls


public bool ShowShadow { get; set; }

Property Value

Type Default Description
Boolean False

true to make the shadow visible; otherwise, false.


Enable the ShowShadow property to show a button shadow with default settings. To customize shadow appearance settings, use the button’s Shadow property.

The following example shows how to draw a button’s shadow and customize its appearance:

DevExpress Button for .NET MAUI -- Configure the button shadow

<dxc:SimpleButton Text="SUBMIT"
                  Margin="0, 20" 
        <Shadow Radius="20" Opacity="0.8" 
                Brush="Darkgray" Offset="10,10"/>
See Also