Back to Devexpress

DXCollectionView.GroupItemSeparatorThickness Property

maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-d2047365.md

latest1.9 KB
Original Source

DXCollectionView.GroupItemSeparatorThickness Property

Gets or sets group item separator thickness. This is a bindable property.

Namespace : DevExpress.Maui.CollectionView

Assembly : DevExpress.Maui.CollectionView.dll

NuGet Package : DevExpress.Maui.CollectionView

Declaration

csharp
public double GroupItemSeparatorThickness { get; set; }

Property Value

TypeDescription
Double

Specifies separator thickness.

|

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