[Mono-bugs] [Bug 78192][Nor] Changed - PropertyGrid Color selector.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Apr 26 00:37:31 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jonathan.chambers at ansys.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78192
--- shadow/78192 2006-04-25 17:48:19.000000000 -0400
+++ shadow/78192.tmp.30390 2006-04-26 00:37:31.000000000 -0400
@@ -23,6 +23,62 @@
* Clicking on the row that says "BackColor" on the [...] button shows up an
empty window; On Windows a dialog with various options "Custom", "Web" and
"System" is shown to select a color.
* A number of rows for colornames are displayed that are not displayed on
Windows "AliceBlue", "AquaMarein", "Aqua", etc.
+
+------- Additional Comments From jonathan.chambers at ansys.com 2006-04-26 00:37 -------
+For part one, the ColorEditor needs implemented as a drop down, rather
+than a modal dialog.
+
+For the second part, this is a problem somewhere else in mono. Either
+we are missing some attributes, or the GetProperties method is wrong,
+etc. Run simple test below on mono vs. .Net:
+
+using System;
+using System.ComponentModel;
+using System.Drawing;
+
+class T
+{
+ static void Main(string[] args)
+ {
+ foreach (PropertyDescriptor property in
+TypeDescriptor.GetProperties(typeof(Color))) {
+ Console.WriteLine("Property: {0}", property.Name);
+ }
+ }
+}
+
+
+.Net Output:
+$ ./AttributeTester.exe
+Property: IsEmpty
+Property: A
+Property: B
+Property: IsNamedColor
+Property: IsKnownColor
+Property: Name
+Property: G
+Property: R
+Property: IsSystemColor
+
+mono Output:
+$ mono AttributeTester.exe
+Property: Name
+Property: IsKnownColor
+Property: IsSystemColor
+Property: IsNamedColor
+Property: IsEmpty
+Property: A
+Property: R
+Property: G
+Property: B
+Property: Transparent
+Property: AliceBlue
+Property: AntiqueWhite
+Property: Aqua
+Property: Aquamarine
+...
+
+
More information about the mono-bugs
mailing list