Skip to main content
All docs
V26.1
  • DXCollectionView.GroupItemSeparatorColor Property

    Gets or sets the color of the group item separator. This is a bindable property.

    Namespace: DevExpress.Maui.CollectionView

    Assembly: DevExpress.Maui.CollectionView.dll

    NuGet Package: DevExpress.Maui.CollectionView

    Declaration

    public Color GroupItemSeparatorColor { get; set; }

    Property Value

    Type Description
    Color

    Specifies separator color.

    Remarks

    The following example specifies group item settings:

    DevExpress CollectionView for .NET MAUI - Group item

    <dxcv:DXCollectionView ItemsSource="{Binding Data}" 
                           GroupItemSeparatorColor="DarkGray" 
                           GroupItemSeparatorThickness="2" 
                           GroupItemSeparatorCapMargin="100">
        <dxcv:DXCollectionView.GroupHeaderTemplate>
            <DataTemplate>
                <Label FontFamily="Roboto-Medium"
                       Margin="4"
                       TextColor="#55575c"
                       Text="{Binding Value}"
                       FontSize="18"
                       FontAttributes="Bold"
                       HorizontalTextAlignment="Center"/>
            </DataTemplate>
        </dxcv:DXCollectionView.GroupHeaderTemplate>
        <dxcv:DXCollectionView.ItemTemplate>
            <!--...-->
        </dxcv:DXCollectionView.ItemTemplate>
    </dxcv:DXCollectionView>
    
    See Also