Support customized mouse gestures for
- Zoom
- Pan
- Tracker
And key gesture for
- Reset all axes
Comments: Looking at the converter for Key to OxyKey that has a case statement covering the conversion (with a TODO for missing cases). Do you have an issue with just doing something like the below instead of a massive case statement? ``` public static OxyKey Convert(this Key k) { OxyKey key; if (Enum.TryParse<OxyKey>(k.ToString(), out key)) return key; return OxyKey.Unknown; } ``` I belive the TryParse is .NET 4, so might have to do something else, but just wondering if you have any thought about something like this.
- Zoom
- Pan
- Tracker
And key gesture for
- Reset all axes
Comments: Looking at the converter for Key to OxyKey that has a case statement covering the conversion (with a TODO for missing cases). Do you have an issue with just doing something like the below instead of a massive case statement? ``` public static OxyKey Convert(this Key k) { OxyKey key; if (Enum.TryParse<OxyKey>(k.ToString(), out key)) return key; return OxyKey.Unknown; } ``` I belive the TryParse is .NET 4, so might have to do something else, but just wondering if you have any thought about something like this.