C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutContext

Encapsulates context for view layout operations.
Inheritance: ViewContext
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
ViewLayoutContext ( Control control, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

ViewLayoutContext ( ViewManager manager, Control control, Control alignControl, Graphics graphics, IRenderer renderer, Size displaySize ) : System

Initialize a new instance of the ViewContext class.

ViewLayoutContext ( ViewManager manager, Control control, Control alignControl, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

ViewLayoutContext ( ViewManager manager, Control control, Control alignControl, IRenderer renderer, Size displaySize ) : System

Initialize a new instance of the ViewContext class.

ViewLayoutContext ( ViewManager manager, Form form, Rectangle formRect, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

Method Details

ViewLayoutContext() public method

Initialize a new instance of the ViewContext class.
public ViewLayoutContext ( Control control, IRenderer renderer ) : System
control System.Windows.Forms.Control Control associated with rendering.
renderer IRenderer Rendering provider.
return System

ViewLayoutContext() public method

Initialize a new instance of the ViewContext class.
public ViewLayoutContext ( ViewManager manager, Control control, Control alignControl, Graphics graphics, IRenderer renderer, Size displaySize ) : System
manager ViewManager Reference to the view manager.
control System.Windows.Forms.Control Control associated with rendering.
alignControl System.Windows.Forms.Control Control used for aligning elements.
graphics System.Drawing.Graphics Graphics instance for drawing.
renderer IRenderer Rendering provider.
displaySize System.Drawing.Size Display size.
return System

ViewLayoutContext() public method

Initialize a new instance of the ViewContext class.
public ViewLayoutContext ( ViewManager manager, Control control, Control alignControl, IRenderer renderer ) : System
manager ViewManager Reference to the view manager.
control System.Windows.Forms.Control Control associated with rendering.
alignControl System.Windows.Forms.Control Control used for aligning elements.
renderer IRenderer Rendering provider.
return System

ViewLayoutContext() public method

Initialize a new instance of the ViewContext class.
public ViewLayoutContext ( ViewManager manager, Control control, Control alignControl, IRenderer renderer, Size displaySize ) : System
manager ViewManager Reference to the view manager.
control System.Windows.Forms.Control Control associated with rendering.
alignControl System.Windows.Forms.Control Control used for aligning elements.
renderer IRenderer Rendering provider.
displaySize System.Drawing.Size Display size.
return System

ViewLayoutContext() public method

Initialize a new instance of the ViewContext class.
public ViewLayoutContext ( ViewManager manager, Form form, Rectangle formRect, IRenderer renderer ) : System
manager ViewManager Reference to the view manager.
form System.Windows.Forms.Form Form associated with rendering.
formRect System.Drawing.Rectangle Window rectangle for the Form.
renderer IRenderer Rendering provider.
return System