开发者

access textbox's property 'MaxHeight' within a datatemplate, silverlight 2.0

开发者 https://www.devze.com 2023-03-24 06:22 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消