C# Class SIL.FieldWorks.SharpViews.RowBox

Class that corresponds to a 'row' element in HTML.
Inheritance: GroupBox
Mostrar archivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
Layout ( LayoutInfo transform ) : void
RowBox ( AssembledStyles styles, IControlColumnWidths columnWidths, bool wrapRow ) : System

Private Methods

Method Description
ChildSetup ( Box box, LayoutInfo transform, int maxBoxWidth, int left, int top ) : Box
FirstVisibleBox ( IVwGraphics vg, PaintTransform ptrans ) : Box

Answer the first box whose bottom comes to the right of the left of the clip rectangle. Enhance JohnT: Could refine this to skip a box if only its margin is visible. Enhance JohnT: if we do separate page drawing, as in print preview, we may need a more precise way to eliminate boxes not on the page. Enhance JohnT: may need to include a box that is just out of sight, in case one extends beyond the right of the box?

IsAfterVisibleBoxes ( Box box, IVwGraphics vg, PaintTransform ptrans ) : bool

Answer true if the box is entirely to the right of the clip rectangle. Enhance JohnT: Could refine this to skip a box if only its margin is visible. Enhance JohnT: if we do separate page drawing, as in print preview, we may need a more precise way to eliminate boxes not on the page. Enhance JohnT: may need to include a box that is just out of sight, in case one extends beyond the left of the box?

Method Details

Layout() public method

public Layout ( LayoutInfo transform ) : void
transform LayoutInfo
return void

RowBox() public method

public RowBox ( AssembledStyles styles, IControlColumnWidths columnWidths, bool wrapRow ) : System
styles AssembledStyles
columnWidths IControlColumnWidths
wrapRow bool
return System