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
200
Corner radius in DataRecordCellArea
posted
I need to change style for the XamlGrid row. I used following template:
 <Style TargetType="{x:Type igDP:DataRecordCellArea}">
                <Setter Property="BorderBrush" Value="Navy" />
                <Setter Property="CornerRadius" Value="10"/>
                <Setter Property="Margin" Value="1"/>
                <Setter Property="BorderThickness" Value="2"/>
  </Style>
But the CornerRadius for "DataRecordCellArea" effective only when the mouse 
is over. How to set CornerRadius for non selected/non mouse over rows?
Parents
No Data
Reply
  • 27093
    posted

    Hello,

     

    I have been investigating your issue and there indeed doesn’t seem to be a built-in way for doing this. However I have found a way for to achieve your goal by retemplating the DataRecordCellArea using  the original templates found in the DefaultStyles folder. I have created a sample project for you showing how to use it (Grid_corners.zip).

     

    Please let me know if you require any further assistance on the matter.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

     

    Grid_corners.zip
Children