What is it about DataTable Column Names with dots that makes them unsuitable for WPF's DataGrid control?

前端 未结 4 1320
生来不讨喜
生来不讨喜 2020-11-27 21:21

Run this, and be confused:



        
4条回答
  •  难免孤独
    2020-11-27 21:40

    I ended up using the substituting the ONE DOT LEADER and it worked great. I imported my data from an XML file and instead of using string.replace(".","\x2024"); everywhere in my code it was easier to change the import file.

    Before
    
    After
    
    

提交回复
热议问题