Where is the WPF Numeric UpDown control?

后端 未结 13 1860
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 00:02

Getting into the first serious WPF project. It seems like there are a lot of basic controls flat out missing. Specifically, I am looking for the Numeric UpDown control. W

13条回答
  •  没有蜡笔的小新
    2020-11-30 00:48

    Let's enjoy some hacky things:
    Here is a Style of Slider as a NumericUpDown, simple and easy to use, without any hidden code or third party library.

    
        
        
        
        
            
                
                    
                        
                            
                            
                        
                        
                            
                            
                        
                        
                        
                            
                        
                        
                            
                        
                        
                            
                        
                        
                    
                
            
        
    
    

提交回复
热议问题