summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/OpenGLView.cs
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2017-04-11 14:02:06 -0400
committerRui Marinho <me@ruimarinho.net>2017-04-11 19:02:06 +0100
commit093a4efa2da9cb681890158ca8ee9bb6f30b0a8c (patch)
treeccc17255876e40d2c845d7b2c62dfc930156729d /Xamarin.Forms.Core/OpenGLView.cs
parent7458ca37330f424bf7fb1447580b0fa9c34c6db4 (diff)
downloadxamarin-forms-093a4efa2da9cb681890158ca8ee9bb6f30b0a8c.tar.gz
xamarin-forms-093a4efa2da9cb681890158ca8ee9bb6f30b0a8c.tar.bz2
xamarin-forms-093a4efa2da9cb681890158ca8ee9bb6f30b0a8c.zip
Implicit impl of controller ifaces (#807)
* Simplify ICtrl callsites * Rebase fix
Diffstat (limited to 'Xamarin.Forms.Core/OpenGLView.cs')
-rw-r--r--Xamarin.Forms.Core/OpenGLView.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/Xamarin.Forms.Core/OpenGLView.cs b/Xamarin.Forms.Core/OpenGLView.cs
index 39e49a90..fc2bec8b 100644
--- a/Xamarin.Forms.Core/OpenGLView.cs
+++ b/Xamarin.Forms.Core/OpenGLView.cs
@@ -1,4 +1,5 @@
using System;
+using System.ComponentModel;
using Xamarin.Forms.Platform;
namespace Xamarin.Forms
@@ -22,12 +23,6 @@ namespace Xamarin.Forms
public Action<Rectangle> OnDisplay { get; set; }
- event EventHandler IOpenGlViewController.DisplayRequested
- {
- add { DisplayRequested += value; }
- remove { DisplayRequested -= value; }
- }
-
public void Display()
{
EventHandler handler = DisplayRequested;
@@ -35,7 +30,8 @@ namespace Xamarin.Forms
handler(this, EventArgs.Empty);
}
- event EventHandler DisplayRequested;
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public event EventHandler DisplayRequested;
public OpenGLView()
{