New to Telerik UI for .NET MAUI? Start a free 30-day trial
Option 1: Using
Hiding Default Expand Icon in .NET MAUI CollectionView with Grouping
Updated on Oct 8, 2025
Environment
| Version | Product | Author |
|---|---|---|
| 11.1.0 | Telerik UI for .NET MAUI CollectionView | Dobrinka Yordanova |
| ## Description |
I want to hide the default expand/collapse icon in the .NET MAUI CollectionView when grouping is used. I plan to use a custom icon and style it further.
This knowledge base article also answers the following questions:
- How can I replace the default expand icon in .NET MAUI CollectionView with a custom one?
- How to hide the expand/collapse indicator in .NET MAUI CollectionView grouping?
- How to style the expand/collapse icon in .NET MAUI CollectionView?
Solution
To hide the default expand/collapse icon and use a custom icon, use either the GroupViewStyle property or remove the default indicator.
Option 1: Using GroupViewStyle
- Remove the default expand arrow from the group template.
- Use the
GroupViewStyleproperty and itsExpandCollapseIndicatorStyleto style the expand indicator.
XAML
<telerik:RadCollectionView.GroupViewStyle>
<telerik:GroupViewStyle ExpandCollapseIndicatorStyle="{StaticResource ExpandCollapseIndicatorStyle}" />
</telerik:RadCollectionView.GroupViewStyle>
- Define the style with the target type
Label.
XAML
<Style x:Key="ExpandCollapseIndicatorStyle" TargetType="Label">
<Setter Property="TextColor" Value="Black" />
<Setter Property="FontSize" Value="18" />
</Style>
Refer to the official documentation for more information on GroupViewStyle.
Option 2: Removing Default Indicator
- Set the
IsVisibleproperty of the expand/collapse indicator toFalsein the style.
XAML
<Style x:Key="ExpandCollapseIndicatorStyle" TargetType="Label">
<Setter Property="TextColor" Value="Black" />
<Setter Property="IsVisible" Value="False" />
</Style>
- Define your custom indicator in the group template.
XAML
<telerik:RadCollectionView.GroupViewStyle>
<telerik:GroupViewStyle ExpandCollapseIndicatorStyle="{StaticResource ExpandCollapseIndicatorStyle}" />
</telerik:RadCollectionView.GroupViewStyle>