예제 #1
0
 protected override void Dispose(bool disposing)
 {
     Font       = null;
     attributes = null;
     caretView  = null;
     base.Dispose(disposing);
 }
		protected override void Dispose (bool disposing)
		{
			Font = null;
			attributes = null;
			caretView = null;
			base.Dispose (disposing);
		}
예제 #3
0
 public SimpleCoreTextView(CGRect frame)
     : base(frame)
 {
     Layer.GeometryFlipped = true;              // For ease of interaction with the CoreText coordinate system.
     attributes            = new CTStringAttributes();
     Text            = string.Empty;
     Font            = UIFont.SystemFontOfSize(18);
     BackgroundColor = UIColor.Clear;
     caretView       = new SimpleCaretView(CGRect.Empty);
 }
 public SimpleCoreTextView(RectangleF frame)
     : base(frame)
 {
     Layer.GeometryFlipped = true;  // For ease of interaction with the CoreText coordinate system.
     attributes = new CTStringAttributes ();
     Text = string.Empty;
     Font = UIFont.SystemFontOfSize (18);
     BackgroundColor = UIColor.Clear;
     caretView = new SimpleCaretView (RectangleF.Empty);
 }