all groups > dotnet windows forms designtime > june 2004 >
You're in the

dotnet windows forms designtime

group:

Limit types available in designer


Limit types available in designer Jared
6/24/2004 4:19:33 PM
dotnet windows forms designtime:
Hello all,

I am new to this so I may not explain myself very well.

1. I have an inherited TreeView control that I would like to have a partner
control set at design time using the properties window; like the
ControlToValidate property in some web controls. When a node is clicked in
my TreeView I want to fill my "partner" control with data based on the
selection. I want to support controls such as DataGrid, ListView and ListBox
controls, but I want to set this property at design time using the property
grid. How can this be done?

2. Assuming this can be done, do I use a property of Type Control? Do I use
an interface that is common to the controls I want to support?

I have been searching for some time now I have not been able to find any
documentation pertaining to this exact problem. I would really like an
example if anyone already has one.

Thanks in advance,
Jared

Re: Limit types available in designer Jared
6/24/2004 4:23:08 PM
Sorry, I'm coding in Visual Basic.

[quoted text, click to view]

AddThis Social Bookmark Button