Hi ,
I have data display on the XamGrid. but i need to mention the Horizontal line separator between the XamGrid rows.
could you please specify is there any Row Separator Style or any solution to achieve this.
Task :- I need Horizontal line between Xamgrid rows. Could you please provide me a solution to achieve this..
Thanks
Anil Kumar
Hi,
If you want to have a visible border at the bottom of the cell, you can set a CellStyle like that:
<ig:XamGrid x:Name="XGrid" ItemsSource="{Binding Data}"> <ig:XamGrid.CellStyle> <Style TargetType="ig:CellControl"> <Setter Property="BorderThickness" Value="0,0,1,1" /> </Style> </ig:XamGrid.CellStyle> </ig:XamGrid>
And the result will look like that:
If you need something more advanced you will have to change the control template of the CellControl - check this article for more information.
Regards