Hello,
I have a RadTabView who has 3 tabs. For each tab header, i use a style like this :
<ControlTemplate x:Key="TabViewHeaderItemControlTemplate">
<Grid BackgroundColor="{StaticResource GreyLightColor}">
<primitives:RadBorder BorderThickness="0,0,0,0" HeightRequest="50"
CornerRadius="20,20,0,0"
BorderColor="{StaticResource GreyMediumColor}"
BackgroundColor="{StaticResource GreyMediumColor}"
Padding="0" >
<primitives:RadBorder.Triggers>
<DataTrigger TargetType="primitives:RadBorder"
Binding="{TemplateBinding IsSelected}"
Value="True">
<Setter Property="BackgroundColor" Value="{StaticResource Key=BlueLightColor}" />
<Setter Property="BorderColor" Value="{StaticResource Key=BlueLightColor}" />
</DataTrigger>
<DataTrigger TargetType="primitives:RadBorder"
Binding="{TemplateBinding IsSelected}"
Value="False">
<Setter Property="BackgroundColor" Value="{StaticResource Key=GreyMediumColor}" />
<Setter Property="BorderColor" Value="{StaticResource Key=GreyMediumColor}" />
</DataTrigger>
</primitives:RadBorder.Triggers>
<Label Text="{TemplateBinding Text}"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Center"
FontFamily="SFR-Bold.otf#SFR-Bold"
FontAttributes="Bold"
FontSize="20" >
<Label.Triggers>
<DataTrigger TargetType="Label"
Binding="{TemplateBinding IsSelected}"
Value="True">
<Setter Property="TextColor" Value="White" />
</DataTrigger>
<DataTrigger TargetType="Label"
Binding="{TemplateBinding IsSelected}"
Value="False">
<Setter Property="TextColor" Value="{StaticResource Key=BlackColor}" />
</DataTrigger>
</Label.Triggers>
</Label>
</primitives:RadBorder>
</Grid>
</ControlTemplate>
The result is like the photo attached. But there is always a gap between two headers.
I want to know, if there is a way that i can remove the gap between two headers. So that two tabs will be next to each other.
Thank you.