c# - Public class modifier for WPF control -


i'm creating windows application , class library. class library contains wpf control named "insertform.xaml"

insertform contains textbox named eusername.

i'm using following code show insertform. that's successful. can't access eusername. how set textbox modifiers public?

using system.windows.forms.integration

elementhost host = new elementhost(); iform= new extender.insertform(); host.child = iform; this.controls.add(host); 

would work?

<textbox name="eusername" x:fieldmodifier="public"/> 

Comments

Popular posts from this blog

List<T>().Add problem C# -

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -