Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
Show line after each row in xamWebGrid
posted

Hi,

  How to show lines after each row in xamWebGrid.Currently its showing rows without lines. Bur i want to show line of something like 1 thikness after each row as in Silverlight datagrid. So plz tell how can i give such style for this datagrid so that i can distingiush each row.

 

Thanks in advance,

Mahendra

 

  • 40030
    Suggested Answer
    Offline posted

    Hi Mahendra, 

    To do this, you can modify the style for the CellControl, so that it also has a border on the bottom:

    <Style TargetType="ig:CellControl" x:Key="BorderStyle">

    <Setter Property="BorderThickness" Value="0,0,1,1"></Setter>

    </Style>

    <ig:XamWebGrid x:Name="DataGrid1" CellStyle="{StaticResource BorderStyle}" />

    -SteveZ