Why can't I style a DataGridTextColumn?

后端 未结 6 526
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 12:09

I tried to create a Style for DataGridTextColumn with the following code


                
                
                    
                
            
        
    

One style will be applied to viewing and the other will be applied when the cell is in edit mode. Note that it changes from a TextBlock when viewing to a TextBox when editing (This got me at first!).

提交回复
热议问题