I have googled a lot to find the answer to my question but no suitable answer could be found.
I am using a gridview of wpf tool kit. which has multiple columns
column structure is like,
<my:DataGridTemplateColumn MaxWidth="15" MinWidth="15" Width="15">
<Button Click="btnContractCollespe_Click" FontSize="9" Height="20" Name="btnContCollespe">+</Button>
when grid renders it displays button "btnContCollespe" in each row. I want some how I could change contents of every button in all rows. Basically this button will expand and collapse gridview 3
fixed columns. so upon expand operation, buttons in all rows should have content "-" and after user performs collapse operation, all button content should change to +.
I found no suitable way to find control inside grid. Can anybody help. In asp.net we used to do it by gridview.findcontrol("...") but no such method is available in WPF gridview.
View Complete Post