Unable to Get the derived WPF Control (My WPF Control is been derived from TextBox Class)

Jul 9, 2009 at 2:48 PM

I am unable to get the control through the method Window.Get<InfoTextBox>("TxtSubject"). 

The InfoTextBox is a simple class dervied from the Textbox. 

public class InfoTextBox : Textbox

{

.........

}