Skip to main content

DevExpress Switch for .NET MAUI

The DevExpress DXSwitch for .NET MAUI performs the assigned action when a user toggles it.

.NET MAUI DXSwitch - States

DXSwitch Elements (Anatomy)

The DXSwitch control can display the caption and the switch (thumb and track).

.NET MAUI DXSwitch - Anathomy

Add a DXSwitch to the Page

Before you proceed, read the following topic: Get Started with DevExpress Controls for .NET Multi-platform App UI (.NET MAUI).

The following example adds a DXSwitch instance to the page and sets its content to match the image above:

<ContentPage ...
            xmlns:dx="http://schemas.devexpress.com/maui">
        <dx:DXSwitch ...
            Content="Airplane mode"/>
</ContentPage>

Next Steps

Caption
This topic explains how to specify and configure the caption of the DXSwitch control.
Thumb
This topic explains how to configure the thumb of the DXSwitch control.
Track
This topic explains how to configure the track of the DXSwitch control.
Groups
This topic explains how to group multiple DXSwitch controls.