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
245
Theme="Onyx" doesn't has grid record horizontal line
posted

hi,

 I am implementing xamDataGrid Theme="Onyx". but xamDatagrid doesn't has grid record horizontal and vertical line. Clients requirement is to show that theme only and having Grid line also visible.

please help me how can i override the theme so that it has grid Line visible.

 

thanks in advance

Amit

  • 9836
    Suggested Answer
    posted

    Amit,

    You can try with the following styles:

    //Set vertical lines
    <Style TargetType="{x:Type igDP:CellValuePresenter}">
                        <Setter Property="BorderBrush" Value="Red"/>
    </Style>

    //Set horizontal lines
    <Style TargetType="{x:Type igDP:DataRecordCellArea}">
                        <Setter Property="BorderBrush" Value="Red"/>
    </Style>

    Hope this helps

    Vlad