|
-
April 24th, 2012, 02:54 AM
#2
Re: Design time support for custom control
I'm sure you figured it out by now, but in case you didn't....
your user control needs to have properties exposing its controls.
In your user control class add following property:
Code:
public DataGridView InnerDataGrid
{
get
{
return dataGridView1; //This should be the name of your DGV
}
}
Now, in design time ,you'll see the property "InnerDataGrid"
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|