Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

C# and Designer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon Slaughter - 02 Sep 2007 19:48 GMT
This might not be the best group for this question but I don't know where
else to post.

I've designed a control and I'm trying to setup a designer for it.

My issue right now is that I'm need "dynamic" properties so that when one
property is modified it will change another property.

Really all I'm doing is hiding some properties and showing others depending
on a value. If true it will hide set X and show set Y else it will show X
and hide Y. The reason for this is just to reduce the number of properties
when many are not necessary.

I am trying to do this in Pre/PostFilterProperties but these do not get
called when a property is changed.

Is there any way I can do what I want? (In some way I need to update the
properties list when a property is changed and not just before or after the
control is created)

Thanks,
Jon
Patrick Steele - 03 Sep 2007 14:47 GMT
> This might not be the best group for this question but I don't know where
> else to post.
[quoted text clipped - 15 lines]
> properties list when a property is changed and not just before or after the
> control is created)

I don't know of a way to do this.  And to be honest, it would bug me if
a property I'm looking for was missing from the list simply because some
other property was set to a certain value.

And even if you got it working in the property browser, I doubt
intellisense would support what you want.

Signature

Patrick Steele (patrick@mvps.org)
http://weblogs.asp.net/psteele


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.