Apr 12, 2010 at 4:55 PM
Edited Apr 12, 2010 at 7:16 PM

Hi All:

The PatientSearchInputBox comtrol is under NhsCui.Toolkit.Winforms and the class is derived from winodws.Forms.Textbox.

Does this mean the inputbox is not a WPF control. Are there any cons to use this control as it is a old school textbox , or should I create one which using WPF control?

I did a test to embed the searchinputbox into my WPF xaml, see following


<UserControl x:Class="PatientSearchLib.PatientSearchEntry"
             Height="300" Width="300">
    <StackPanel Margin="10">


compile is succeed, but when I run it, I got error:

Cannot find type 'NhsCui.Toolkit.WinForms.PatientSearchInputBox'. The assembly used when compiling might be different than that used when loading and the type is missing.  Error at object 'System.Windows.Forms.Integration.WindowsFormsHost' in markup file 'xaml' Line 10 Position 14.

I am kind new to the whole WPF thing.

Thanks in advance





May 7, 2010 at 2:48 PM

hi Rockdale

We've tried a sample with the code provided in the article and its working fine.  Could you provide a repro project?


Tom Chapman

MSCUI Release Manager