Back to Devexpress

DXCollectionView.GroupItemSeparatorColor Property

maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-21b1fe6b.md

latest1.9 KB
Original Source

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

csharp
public Color GroupItemSeparatorColor { get; set; }

Property Value

TypeDescription
Color

Specifies separator color.

|

Remarks

The following example specifies group item settings:

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

DXCollectionView Class

DXCollectionView Members

DevExpress.Maui.CollectionView Namespace