diff --git a/CefSharp.Core/MouseButtonType.h b/CefSharp.Core/MouseButtonType.h
index d7eb1f28e..945f8849c 100644
--- a/CefSharp.Core/MouseButtonType.h
+++ b/CefSharp.Core/MouseButtonType.h
@@ -12,33 +12,4 @@ namespace CefSharp
Middle = CefBrowserHost::MouseButtonType::MBT_MIDDLE,
Right = CefBrowserHost::MouseButtonType::MBT_RIGHT
};
-
- ///
- /// Supported event bit flags.
- ///
- [FlagsAttribute]
- public enum class CefEventFlags : UInt32
- {
- None = 0,
-
- CapsLockOn = 1 << 0,
-
- ShiftDown = 1 << 1,
- ControlDown = 1 << 2,
- AltDown = 1 << 3,
-
- LeftMouseButton = 1 << 4,
- MiddleMouseButton = 1 << 5,
- RightMouseButton = 1 << 6,
-
- ///
- /// Mac OS-X command key.
- ///
- CommandDown = 1 << 7,
-
- NumLockOn = 1 << 8,
- IsKeyPad = 1 << 9,
- IsLeft = 1 << 10,
- IsRight = 1 << 11,
- };
}
\ No newline at end of file
diff --git a/CefSharp/CefEventFlags.cs b/CefSharp/CefEventFlags.cs
new file mode 100644
index 000000000..6f19c13b4
--- /dev/null
+++ b/CefSharp/CefEventFlags.cs
@@ -0,0 +1,33 @@
+using System;
+
+namespace CefSharp
+{
+ ///
+ /// Supported event bit flags.
+ ///
+ [FlagsAttribute]
+ public enum CefEventFlags
+ {
+ None = 0,
+
+ CapsLockOn = 1 << 0,
+
+ ShiftDown = 1 << 1,
+ ControlDown = 1 << 2,
+ AltDown = 1 << 3,
+
+ LeftMouseButton = 1 << 4,
+ MiddleMouseButton = 1 << 5,
+ RightMouseButton = 1 << 6,
+
+ ///
+ /// Mac OS-X command key.
+ ///
+ CommandDown = 1 << 7,
+
+ NumLockOn = 1 << 8,
+ IsKeyPad = 1 << 9,
+ IsLeft = 1 << 10,
+ IsRight = 1 << 11,
+ };
+}
diff --git a/CefSharp/CefSharp.csproj b/CefSharp/CefSharp.csproj
index d1f0d6574..28debc08d 100644
--- a/CefSharp/CefSharp.csproj
+++ b/CefSharp/CefSharp.csproj
@@ -86,6 +86,7 @@
+