Hello,
How can I get column index from xaml? For example I have the following DataTrigger:
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type ig:CellControl}}, Path=??????, Converter={StaticResource SomeConverter}}" Value=0>
<Setter Property="SomeProperty" Value="SomeValue">
Thank you
Hello Ilya,
Thank you for posting in our forums!
So I may better assist you with this, please let me know your answers to the following questions:
1. What are you trying to accomplish with this DataTrigger.2. How is your converter working?
Looking forward to hearing from you.
Sincerely,Michael H.Software DeveloperInfragistics, Inc.www.infragistics.com/support
Hello Michael,
Please find the answers below:
1. I'm trying to update header text based on index of column.
2. It identifies even or odd index of column.
Thank you for the information.
Please see this forum thread that discusses how to best change the Column's header text.
If you need further assistance with this, please let me know and I will be glad to help.