Adding Attributes to Control instances
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all! i want to add my custom attribute to a Control member of a form. For exmaple there is the following code line: Public WithEvents grdTest as DataGridView Now, at runtime, i want to read the the information of the MyAttribute instance of the grdTest-Control but when i call GetCustomAttributes of the PropertyInfo of the grdTest control instance the resulting array has zero elements ... it seems, that the changes i made in the TestForm.Designer.vb are not compiled ... has anyone any idea? please help me. greets testy solidIT.de - under construction Components for Microsoft .Net audittrail, objectcomparer, deepcopy and much more ...