Is there a way to get code like this print "Test";

```
DecendedTextBox myControl = new DecendedTextbox();

if (myControl is "TextBox")
{
   Debug.WriteLine("Test");
}

```

The point here is that I need to see if myControl inherits from a type that I don't have a reference to at Compile Time.