WPF DataGrid selected row style

后端 未结 3 2012
闹比i
闹比i 2020-12-14 05:37

I\'m stuck with one very stupid problem - need to style selected row in WPF DataGrid.

I want to show a rectangle with blue border instead of just filling entire row

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 06:12

    try this

    
                        
    
                        
                                
                            
                            
                            
                            
                            
                                
                                    
                                        
                                    
                                
                            
    
                            
                                
                                    
                                        
                                            
                                                
                                                    
                                                    
                                                
                                                
                                                    
                                                        
                                                        
                                                    
                                                    
                                                    
    
                                                    
                                                
                                                
                                            
                                        
                                        
                                            
                                                
                                            
                                        
                                    
                                
                            
                            
                                
                                    
                                    
                                
                                
                            
                        
    
                    
    

提交回复
热议问题