Back to Devexpress

DXToggleButton.IsGroupScopeProperty Field

maui-devexpress-dot-maui-dot-core-dot-dxtogglebutton-4e516211.md

latest1.7 KB
Original Source

DXToggleButton.IsGroupScopeProperty Field

Identifies the IsGroupScope attached property.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public static readonly BindableProperty IsGroupScopeProperty

Field Value

TypeDescription
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.

xaml
<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

DXToggleButton Class

DXToggleButton Members

DevExpress.Maui.Core Namespace