maui-405233-utility-controls-switch-index.md
The DevExpress DXSwitch for .NET MAUI performs the assigned action when a user toggles it.
The DXSwitch control can display the caption and the switch (thumb and track).
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>
CaptionThis topic explains how to specify and configure the caption of the DXSwitch control.ThumbThis topic explains how to configure the thumb of the DXSwitch control.TrackThis topic explains how to configure the track of the DXSwitch control.GroupsThis topic explains how to group multiple DXSwitch controls.