System.Windows.Forms.TextBoxHelper.TextBoxHelper C# (CSharp) Method

TextBoxHelper() private method

private TextBoxHelper ( ) : AppKit
return AppKit
		internal TextBoxHelper ()
		{
			this.AutohidesScrollers = true;
			this.BorderType = NSBorderType.BezelBorder;
			this.HasVerticalScroller = false;
			this.HasHorizontalScroller = true;
			TextView = new TextView ();
			TextView.Host = this;
			TextView.TextContainerInset = new SizeF (5f, 5f);
			TextView.AutoresizingMask = (NSViewResizingMask.HeightSizable | NSViewResizingMask.WidthSizable);
			TextView.TextContainer.ContainerSize = new SizeF (float.MaxValue, float.MaxValue);
			this.DocumentView = TextView;
			
			//TextView.EnclosingScrollView.HasHorizontalScroller = true;
		}