Hi Telerik team,
I am trying to change the colour of the row border conditionally by following style settings. But I am unable to view the coloured border unless I change the value of the row border thickness to some value greater than 0. But increasing the row border thickness , increases the gray colored gap between rows.
Is there any other approach than can help change the colour of the gidview row border without changing the row border thickness i.e using the default border settings.
<telerik:RadGridView x:Name="radgvActivity" Grid.Row="2" Margin="0" IsReadOnly="False" RowIndicatorVisibility="Visible" ScrollMode="RealTime" AutoGenerateColumns="False" EnableRowVirtualization="True" CanUserFreezeColumns="False" CanUserResizeColumns="True" Width="780" Height="600" BeginningEdit="radgvActivity_BeginningEdit" RowEditEnded="radgvActivity_RowEditEnded"> <telerik:RadGridView.Resources> <Style TargetType="{x:Type telerik:GridViewRow}"> <Setter Property="BorderThickness" Value="1"></Setter> <Style.Triggers> <DataTrigger Binding="{Binding Path=ActType}" Value="4"> <DataTrigger.Setters> <Setter Property="BorderBrush" Value="Red" /> </DataTrigger.Setters> </DataTrigger> </Style.Triggers> </Style> </telerik:RadGridView.Resources>
Many Thanks !!
Regards,
Mausami