corwin42 Expert Licensed User Longtime User May 13, 2009 #1 Is it possible to access the values of Enumerations like System.Windows.Forms.DockStyle or System.Windows.Forms.AnchorStyles with the door.library? If not is there a simple way to find out which values the elements of such enumerations have? I searched for websites with the values but didn't find any. Greetings, Markus
Is it possible to access the values of Enumerations like System.Windows.Forms.DockStyle or System.Windows.Forms.AnchorStyles with the door.library? If not is there a simple way to find out which values the elements of such enumerations have? I searched for websites with the values but didn't find any. Greetings, Markus
agraham Expert Licensed User Longtime User May 13, 2009 #2 Just specify it as a string in SetProperty. Note that it is case-sensitive. GetProperty returns Enums as strings. To get the numeric values of .NET Enums (and browse Framework code) I use .NET Reflector, class browser, analyzer and decompiler for .NET
Just specify it as a string in SetProperty. Note that it is case-sensitive. GetProperty returns Enums as strings. To get the numeric values of .NET Enums (and browse Framework code) I use .NET Reflector, class browser, analyzer and decompiler for .NET
corwin42 Expert Licensed User Longtime User May 16, 2009 #3 Thank you very much. The .Net Reflector is exactly what I needed. Greetings, Markus