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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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

c++ - Convert big endian to little endian when reading from a binary file -