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
715
Styling a cell - accessing the underlying cell?
posted

Hello all,

I have this style in my grid as follows:

<Style TargetType="{x:Type igDP:CellValuePresenter}"  BasedOn="{StaticResource {x:Type igDP:CellValuePresenter}}" >

<Setter Property="Background"
                              Value="{Binding .,
                              Converter={StaticResource StateToBackgroundBrushValueConverter}}" 
                              >

</Style>

I am trying to bind to the actual cell that is being styled, but using the above approach, it gives me the Record that the cell belongs to instead, which strikes me as odd. How can I get hold of the cell?

Thanks

 

Parents Reply Children