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
571
Cell Border??
posted

Hi 

I am sure I am missing something very obvious here. I read your tutorial on how to edit the cell control style and apply it to the grid. I am trying to get the border to show up on all sides of the cell within the grid. I have created a cell control style as per the tutorial, selected the Root element and set the BorderThickness to 2 all around, but it does not effect the cell border. 

Please advice

Andrew

Parents
  • 6912
    Suggested Answer
    posted

    Hi Andrew,

    With this code snippet you can get the result on the screenshot below

    xmlns:ig="http://schemas.infragistics.com/xaml"
    ...
    <ig:XamGrid>
        <ig:XamGrid.CellStyle>
            <Style TargetType="ig:CellControl">
                <Setter Property="BorderThickness" Value="0,0,1,1" />
                <Setter Property="BorderBrush" Value="Gold" />
            </Style>
        </ig:XamGrid.CellStyle>
    </ig:XamGrid>
    ...
    

    I hope that this will helps

Reply Children