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 / Windows Forms / Design Time / February 2005

Tip: Looking for answers? Try searching our database.

How to get actual width in dropdown UITypeEditor?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Kairys - 25 Jan 2005 20:44 GMT
I have a UITypeEditor consisting of a set of owner-drawn buttons. I've
implemented it as a UserControl containing a Panel, to which I add the
buttons when the control is instantiated.

For the neatest appearance I would like to organize the buttons in rows and
columns according to the width of the Panel, and have the width of the Panel
be the same as the width of the property grid cell it below which it is
dropped.

However I have not found a way to get that width. Detailed searching of the
structures at runtime reveals a property
PropertyGridInternal.PropertyGridView.labelWidth that seems to represent the
actual width, but of course I can't access that in my application.

Thanks for any suggestions...

Michael Kairys
SL Corporation
Michael Kairys - 10 Feb 2005 13:07 GMT
You.re telling me it's hopeless?
joeycalisay - 11 Feb 2005 10:02 GMT
I'd rather have that editor to be a modal dialog than the dropdown...

Signature

Joey Calisay
http://spaces.msn.com/members/joeycalisay/

> You.re telling me it's hopeless?
Michael Kairys - 16 Feb 2005 13:39 GMT
You're telling me not only that it's hopeless, but that I shouldn't even be
asking the question?
joeycalisay - 17 Feb 2005 00:36 GMT
not at all, am just giving my views since I myself could not locate a
possible solution in your problem.  Sorry if it meant that way for you,
apologies...

Signature

Joey Calisay
http://spaces.msn.com/members/joeycalisay/

> You're telling me not only that it's hopeless, but that I shouldn't even be
> asking the question?

Rate this thread:







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.