summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.MacOS/BrokenNativeControl.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.ControlGallery.MacOS/BrokenNativeControl.cs')
-rw-r--r--Xamarin.Forms.ControlGallery.MacOS/BrokenNativeControl.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Xamarin.Forms.ControlGallery.MacOS/BrokenNativeControl.cs b/Xamarin.Forms.ControlGallery.MacOS/BrokenNativeControl.cs
deleted file mode 100644
index 5c35366..0000000
--- a/Xamarin.Forms.ControlGallery.MacOS/BrokenNativeControl.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-´╗┐using System;
-using AppKit;
-using CoreGraphics;
-
-namespace Xamarin.Forms.ControlGallery.MacOS
-{
- /// <summary>
- /// This is a custom Android control which deliberately does some incorrect measuring/layout
- /// </summary>
- public class BrokenNativeControl : NSTextField
- {
- public override string StringValue
- {
- get { return base.StringValue; }
- set { base.StringValue = value.ToUpper(); }
- }
-
- public override CGSize SizeThatFits(CGSize size)
- {
- return new CGSize(size.Width, 150);
- }
- }
-}