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
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.
Hi Gergana,
Thanks for the reply. at the point when I'm setting these tag informations the CellValuePresenter is not constructed yet and it always returns NULL. I tried setting the virtualization for cells to false as well but unfortunately that also doesn't work. Is there anyway to access the Cell from converter/CellValuePresenter ?