SIL.FieldWorks.SharpViews.Box.Layout C# (CSharp) Méthode

Layout() public abstract méthode

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
Résultat void
		public abstract void Layout(LayoutInfo transform);

Usage Example

Exemple #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