Click here to Skip to main content
15,895,779 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a UserControl
XML
<UserControl x:Name="MainForm" x:Class="Docker"
...
<CheckBox x:Name="cGroups" Content="Inside Groups"/>
...
</UserControl>
and a separate Module called MainModule.vb that is within the same project.
There is a checkbox named 'cGroups' on the UserControl form that I need to reference from MainModule to get it's value.

How would I go about this?
Posted

1 solution

 
Share this answer
 
Comments
Sean Donnahoe 10-Dec-14 15:58pm    
Really? You have to create a custom control in order to access it outside the original code behind? Sounds kind of convoluted if you ask me. Seems like you should be able to do something like (Docker.cGroups.Value)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900