Skip to main content

Open-WebUI-Functions is here! New Pipelines, Filters, and more. Learn more

Settings Group Panel

Settings Group Panel

This element is used to group multiple elements with headings. It could then look like this:

custom-group

Key features

  • Wraps arbitrary content, making it ideal for bundling toggles or form fields under a shared label.
  • Exposes font sizing through a bindable property so you can align with your typographic scale.
  • Uses a control template, allowing you to restyle the layout without rewriting the control.

Here is the corresponding code for it:

How to use

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:elements="using:App.Elements">
<Grid>
<elements:Group x:Name="Group" Title="Settings" FontSize="20">
<StackLayout>
<Label Text="Settings" />
<Label Text="Settings" />
<Label Text="Settings" />
</StackLayout>
</elements:Group>
</Grid>
</ContentPage>

Implementation notes

  • Bind the Title property to localized resources when building multilingual settings pages.
  • If you need separators between groups, combine this control with the Separator Control for consistent styling.
  • Wrap the control in a DataTemplate to populate grouped content from collection data.