DataGridTemplateColumns, AutoGenerateColumns=true and binding to a DataTable

前端 未结 3 1998
孤独总比滥情好
孤独总比滥情好 2021-01-21 03:12

I\'m struggling with a confluence of problems.

  1. I have a dynamic data set which I manually assemble into a DataTable.
  2. I have to auto generate the columns a
3条回答
  •  感情败类
    2021-01-21 03:54

    Modify your XAML to:

    
        
            
                
            
        
    
    

    Where [Option] refers to the column of DataView in which you store your custom DataItem objects.

提交回复
热议问题