C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutControl

View element that contains a control that has a view hierarchy of its own.
Inheritance: ViewLeaf
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

MakeParent ( Control c ) : void

Reparent the provided control as a child of ourself.

ToString ( ) : string

Obtains the String representation of this instance.

ViewFromPoint ( Point pt ) : ViewBase

Find the view that contains the specified point.

ViewLayoutControl ( ViewControl viewControl, VisualControl rootControl, ViewBase viewChild ) : System

Initialize a new instance of the ViewLayoutControl class.

ViewLayoutControl ( VisualControl rootControl, ViewBase viewChild ) : System

Initialize a new instance of the ViewLayoutControl class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

Private Methods

Méthode Description
UpdateParent ( Control parentControl ) : void

Method Details

Dispose() protected méthode

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
Résultat void

GetPreferredSize() public méthode

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
Résultat System.Drawing.Size

Layout() public méthode

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Résultat void

MakeParent() public méthode

Reparent the provided control as a child of ourself.
public MakeParent ( Control c ) : void
c System.Windows.Forms.Control Control to reparent.
Résultat void

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewFromPoint() public méthode

Find the view that contains the specified point.
public ViewFromPoint ( Point pt ) : ViewBase
pt Point Point in view coordinates.
Résultat ViewBase

ViewLayoutControl() public méthode

Initialize a new instance of the ViewLayoutControl class.
public ViewLayoutControl ( ViewControl viewControl, VisualControl rootControl, ViewBase viewChild ) : System
viewControl ViewControl View control to use as child.
rootControl VisualControl Top level visual control.
viewChild ViewBase View used to size and position the child control.
Résultat System

ViewLayoutControl() public méthode

Initialize a new instance of the ViewLayoutControl class.
public ViewLayoutControl ( VisualControl rootControl, ViewBase viewChild ) : System
rootControl VisualControl Top level visual control.
viewChild ViewBase View used to size and position the child control.
Résultat System