简体   繁体   中英

change a row template in silverlight datagrid for a particular row

i have a datagrid with 10 rows. The columns are all of type textbox . But only for the 7th row i want the column template to be combobox instead of textbox. can this be done ?? Any examples ?

我认为您可以通过在celltemplate中同时具有文本框和combox以及对除第7行以外的所有其他行隐藏combox和对第7行隐藏文本框来实现此目的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM