C# Class ComponentFactory.Krypton.Toolkit.KryptonHeaderGroupDesigner

Inheritance: System.Windows.Forms.Design.ParentControlDesigner
Mostrar archivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
CanParent ( Control control ) : bool

Indicates whether the specified control can be a child of the control managed by a designer.

Initialize ( IComponent component ) : void

Initializes the designer with the specified component.

InternalControlDesigner ( int internalControlIndex ) : System.Windows.Forms.Design.ControlDesigner

Returns the internal control designer with the specified index in the ControlDesigner.

NumberOfInternalControlDesigners ( ) : int

Returns the number of internal control designers in the ControlDesigner.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases all resources used by the component.

GetHitTest ( Point point ) : bool

Indicates whether a mouse click at the specified point should be handled by the control.

OnMouseLeave ( ) : void

Receives a call when the mouse leaves the control.

Private Methods

Method Description
OnComponentRemoving ( object sender, ComponentEventArgs e ) : void
OnHeaderGroupDoubleClick ( object sender, Point pt ) : void
OnHeaderGroupMouseUp ( object sender, MouseEventArgs e ) : void

Method Details

CanParent() public method

Indicates whether the specified control can be a child of the control managed by a designer.
public CanParent ( Control control ) : bool
control System.Windows.Forms.Control The Control to test.
return bool

Dispose() protected method

Releases all resources used by the component.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

GetHitTest() protected method

Indicates whether a mouse click at the specified point should be handled by the control.
protected GetHitTest ( Point point ) : bool
point Point A Point indicating the position at which the mouse was clicked, in screen coordinates.
return bool

Initialize() public method

Initializes the designer with the specified component.
public Initialize ( IComponent component ) : void
component IComponent The IComponent to associate the designer with.
return void

InternalControlDesigner() public method

Returns the internal control designer with the specified index in the ControlDesigner.
public InternalControlDesigner ( int internalControlIndex ) : System.Windows.Forms.Design.ControlDesigner
internalControlIndex int A specified index to select the internal control designer. This index is zero-based.
return System.Windows.Forms.Design.ControlDesigner

NumberOfInternalControlDesigners() public method

Returns the number of internal control designers in the ControlDesigner.
public NumberOfInternalControlDesigners ( ) : int
return int

OnMouseLeave() protected method

Receives a call when the mouse leaves the control.
protected OnMouseLeave ( ) : void
return void