المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Radio buttons in PropertyGrid



C# Programming
07-02-2013, 02:02 PM
Hi experts,

a software I made provides the user with a PropertyGrid (http://msdn.microsoft.com/en-us/library/system.windows.forms.propertygrid.aspx)[^ (http://msdn.microsoft.com/en-us/library/system.windows.forms.propertygrid.aspx)] to change certain values. Some of them are enum-based.

Customer doesn't like to be forced to click twice: first to open the UITypeEditor (http://msdn.microsoft.com/en-us/library/system.drawing.design.uitypeeditor.aspx)[^ (http://msdn.microsoft.com/en-us/library/system.drawing.design.uitypeeditor.aspx)], second to choose the value.
Customer would rather want to have possible values constantly displayed as RadioButton (http://msdn.microsoft.com/en-us/library/system.windows.forms.radiobutton.aspx)[^ (http://msdn.microsoft.com/en-us/library/system.windows.forms.radiobutton.aspx)]s. (See this illustration (https://jumpshare.com/b/OkaAu83FPu6VeHsZAq8E)[^ (https://jumpshare.com/b/OkaAu83FPu6VeHsZAq8E)].)

Is PropertyGrid that customizable to draw a property as something other than $PropertyName and $PropertyValue as one-line-texts?
Is there some OwnerDraw possibility I didn't recognize?
Is there a third-party control that supports that (this (http://www.visualhint.com/propertygrid)[^ (http://www.visualhint.com/propertygrid)] looks nice but User still has to pull the editor down)?

Ciao,


luker