471,337 Members | 1,078 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Property Collection

I have created a Collection Property for a Datagrid and I
got a problem.

I need to find the Datagrid Control that the collection
belongs to, automatically at the Desing Mode in Property
Grid and avoid the user to choose it.

eg.

When you add a DatagridTableStyle on a Datagrid the
DatagridTableStyle picks the Datagrid Control as a
Property by default and displays it at
#Region " Windows Form Designer generated code ".

'DataGridTableStyle2
'
Me.DataGridTableStyle2.DataGrid = Me.Datagrid
Me.DataGridTableStyle2.HeaderForeColor = Color.Yellow
Me.DataGridTableStyle2.MappingName = ""
I want to do the same on my Collection Property.

Jul 21 '05 #1
0 835

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Marc L'Ecuyer | last post: by
6 posts views Thread by Altman | last post: by
reply views Thread by Rene Aichinger | last post: by
1 post views Thread by David Veeneman | last post: by
1 post views Thread by --== Alain ==-- | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.