System.Windows.Forms.NSViewExtender.BringSubviewToFront C# (CSharp) Method

BringSubviewToFront() public static method

public static BringSubviewToFront ( this superView, NSView theView ) : void
superView this
theView NSView
return void
		public static void BringSubviewToFront(this NSView superView, NSView theView)
		{
			if(theView == null || !superView.Subviews.Contains(theView))
				return;
			theView.RemoveFromSuperview();
			superView.AddSubview(theView);
		}