I am fairly new to vb.net and am wondering if I am doing any of this right.
In my program, I created a custom control (CustomControl), which and has a custom property (CustomProperty).  
Within the program, I have a For Each statement that checks each CustomControl within a form and changes the value of CustomProperty if certain criteria is met:
For Each _CustomControl as Control in Controls
    If TypeOf _CustomControl is CustomControl and [criteria met]
        _CustomControl.CustomProperty = value
    End If
next
Whenever I type in the third line, it gives me the following message:
'CustomProperty' is not a member of 'Control'.
I understand that my custom property does not typically belong to 'Controls', and I was wondering if there is something that I should add to the code or if I should type it in some other way.
I appreciate any help that you can offer.
 
     
     
    