How can I iterate over System.Windows.SystemParameters and output all keys and values?
I’ve found What is the best way to iterate over a Dictionary in C#?, but don’t know how to adapt the code for SystemParameters.
Perhaps you could also explain how I could have figured it out by myself; maybe by using Reflector.
using reflection you can create a dictionary by inspecting all the properties
This will produce the following output…
FocusBorderWidth : 1
FocusBorderHeight : 1
HighContrast : False
FocusBorderWidthKey : FocusBorderWidth
FocusBorderHeightKey : FocusBorderHeight
HighContrastKey : HighContrast
DropShadow : True
FlatMenu : True
WorkArea : 0,0,1681,1021
DropShadowKey : DropShadow
FlatMenuKey : FlatMenu