access textbox's property 'MaxHeight' within a datatemplate, silverlight 2.0
how do i access a textblock inside a data template which is embedded within a ListBox? I wish to assign a new value to the textblock's attribute such as MaxHeight.
Code-开发者_JS百科behind as well?
I think I got time a go a similiar porblem to yours. Check this Q&A with final mine resolution of my specific problem. Find an element in DataTemplate.
It's actually kind of triccky.
Hope this helps.
Regards.
精彩评论