Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all articles
Browse latest Browse all 2061

Commented Feature: Customized mouse gestures [9625]

$
0
0
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.

Viewing all articles
Browse latest Browse all 2061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>