SIL.FieldWorks.SharpViews.Box.Layout C# (CSharp) Method

Layout() public abstract method

Determine the height and width of the box for the circumstances indicated by the transform. Also positions (and lays out) any contained boxes.
public abstract Layout ( LayoutInfo transform ) : void
transform LayoutInfo
return void
		public abstract void Layout(LayoutInfo transform);

Usage Example

Example #1
0
		private Box ChildSetup(Box box, LayoutInfo transform, int maxBoxWidth, int left, int top)
		{
			var childTransform = transform.WithMaxWidthOffsetBy(maxBoxWidth, Left, Top); // todo: test
			box.Layout(childTransform);
			box.Left = left;
			box.Top = top;
			return box;
		}
All Usage Examples Of SIL.FieldWorks.SharpViews.Box::Layout