Skip to main content
ON

DXToggleButton.IsGroupScopeProperty Field

Identifies the IsGroupScope attached property.

Namespace: DevExpress.Maui.Core

Assembly: DevExpress.Maui.Core.dll

NuGet Package: DevExpress.Maui.Core

Declaration

public static readonly BindableProperty IsGroupScopeProperty

Field Value

Type Description
BindableProperty

A bindable property identifier.

Remarks

The IsGroupScope attached property allows you to split multiple buttons with the same GroupName into separate groups and toggle between them.

.NET MAUI DXToggleButton - IsGroupScope

<dx:DXStackLayout Orientation="Vertical">
  <dx:DXStackLayout Orientation="Horizontal">
    <dx:DXToggleButton x:Name="bt1" GroupName="1" Content="London"/>
    <dx:DXToggleButton x:Name="bt2" GroupName="1" Content="Dublin"/>
  </dx:DXStackLayout>
  <dx:DXStackLayout dx:DXToggleButton.IsGroupScope="True" Orientation="Horizontal">
    <dx:DXToggleButton x:Name="bt3" GroupName="1" Content="Madrid"/>
    <dx:DXToggleButton x:Name="bt4" GroupName="1" Content="Berlin"/>
  </dx:DXStackLayout>
</dx:DXStackLayout>
See Also