Extended WPF Toolkit - How to add reference to project?

前端 未结 5 1909
醉酒成梦
醉酒成梦 2021-01-31 10:12

I am new to WPF. I want to use datetime picker. I have downloaded the \"Extended WPF Toolkit - 1.9.0\" from below site.

http://wpftoolkit.codeplex.com/releases/view/9697

5条回答
  •  梦如初夏
    2021-01-31 11:05

    First, reference those dlls in your project.
    Right click on References in the Solution Explorer and click Add Reference, now browse and add the two dlls.

    Second, build the project once to enable intellisense in XAML for the newly added dlls.

    Third, in your XAML file add the following namespace

        xmlns:wpfTool="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit"
    

    Tip: Type xmlns:customName="wpftool" and you should be able to see the intellisense list all the relevant namespaces.

    Heres the XAML code:

    
        
            
                
                
            
            
                
                
            
            
    
            
        
    
    

提交回复
热议问题