SIL.FieldWorks.SharpViews.Box.Layout C# (CSharp) 메소드

Layout() 공개 추상적인 메소드

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
리턴 void
		public abstract void Layout(LayoutInfo transform);

Usage 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