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
980
CellStyle when columns widths are Auto
posted

Hi,

 

I would like to change the CellStyle;

However, in the case I have, on grid's right hand side after all available columns, I see empty space with the default grid CellStyle... (please see the picture attached)

 

How can I change this?

Thanks

Parents
  • 6912
    Suggested Answer
    posted

    Hi,

    You can use an implicit style (see "Implicit Styles" in Remarks - msdn). Setting implicit style,like in the code below, will affect all CellControls:

    <ig:XamGrid>
        <ig:XamGrid.Resources>
            <Style TargetType="ig:CellControl">
                <Setter Property="Background" Value="Gold" />
            </Style>
        </ig:XamGrid.Resources>
        ...
    
    

    HTH

Reply Children