summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.MacOS/Controls/FormsImageView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.MacOS/Controls/FormsImageView.cs')
-rw-r--r--Xamarin.Forms.Platform.MacOS/Controls/FormsImageView.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.MacOS/Controls/FormsImageView.cs b/Xamarin.Forms.Platform.MacOS/Controls/FormsImageView.cs
new file mode 100644
index 0000000..33ed73b
--- /dev/null
+++ b/Xamarin.Forms.Platform.MacOS/Controls/FormsImageView.cs
@@ -0,0 +1,16 @@
+´╗┐using AppKit;
+
+namespace Xamarin.Forms.Platform.MacOS
+{
+ internal class FormsNSImageView : NSImageView
+ {
+ bool _isOpaque;
+
+ public void SetIsOpaque(bool isOpaque)
+ {
+ _isOpaque = isOpaque;
+ }
+
+ public override bool IsOpaque => _isOpaque;
+ }
+} \ No newline at end of file