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
540
access to Cell from CellValuePresenter
posted

I'm storing some data in my Cell.Tag which I need to access to in the converter. in the converter I can get the CellValuePresenter but I can't find a way to access to it's parent Cell. Is there anyway to do this?

<Style TargetType="{x:Type igDP:CellValuePresenter}" x:Key="MyStyle">

                    <Setter Property="Background" 

                        Value="{Binding RelativeSource={RelativeSource Self},Converter={StaticResource con}}">

                    </Setter>

                </Style>

Thanks

Parents
No Data
Reply
  • 22015
    posted

    Hello ashkank82,

     

    Thank you for contacting us.

     

    I have been looking into your issue and what I can suggest is to set the Tag property of the CellValuePresenter instead of the Cell. You can use the

    FromCell method of the CellValuePresenter to get the CellValuePresenter and assign the Tag property.

    More about this method you can find on the following link from our documentation: http://help.infragistics.com/Help/Doc/WPF/2015.2/CLR4.0/html/InfragisticsWPF4.DataPresenter.v15.2~Infragistics.Windows.DataPresenter.CellValuePresenter~FromCell.html.

     

    Please do not hesitate to let me know if you have any further questions on this matter.

Children