I create class, in which I need to find TextBox by name. Im using this, but here there is a problem, that FindName doesn't exisst in namespace.
object component = this.FindName(componentName);
TextBox child = component as TextBox;
Can I use FindName method in class?