0

I have a dataGrid with this column:

<DataGridTextColumn Header="IDCodecVideo" Binding="{Binding FicherosVideos.Codecs.IDCodec, Mode=TwoWay}"
                                    Visibility="{Binding Path=., Converter={StaticResource ucFicherosBaseDataGridInformacionVideoVisibilityFilaValueConverter}}"/>

But the converter is not used. I wanted to set the visibility of the row according to the information of the object that is used as source for the information of the row.

Thanks.

Álvaro García
  • 16,711
  • 26
  • 88
  • 167
  • 2
    What makes you think it's not used? What does your converter look like, what is the expected behavior and what happens instead. – nvoigt Aug 02 '14 at 14:58
  • I mean that I set a breakpoint in the first of the converter and it's not executed. – Álvaro García Aug 02 '14 at 15:17
  • That's not enough information. Please take a look at the [help center](http://stackoverflow.com/help/mcve) on how to ask a good question. – nvoigt Aug 02 '14 at 15:30
  • @Alvaro Garcia - `DataGridTextColumn` doesn't lie in same Visual tree as that of DataGrid that's why `Visibility` binding was failing. Refer to my answer over [here](http://stackoverflow.com/a/22074985/632337) for workaround. – Rohit Vats Aug 03 '14 at 08:08

0 Answers0