C# Class ComponentFactory.Krypton.Toolkit.ViewControl

Inheritance: System.Windows.Forms.Control
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
GetViewManager ViewManager
PaintTransparentBackground void

Public Methods

Method Description
UpdateParent ( Control parent ) : void

Gets and sets the root control for point translation and message dispatch.

ViewControl ( VisualControl rootControl ) : System

Initialize a new instance of the ViewControl class.

Protected Methods

Method Description
OnDoubleClick ( EventArgs e ) : void

Raises the DoubleClick event.

OnKeyDown ( KeyEventArgs e ) : void

Raises the KeyDown event.

OnKeyPress ( KeyPressEventArgs e ) : void

Raises the KeyPress event.

OnKeyUp ( KeyEventArgs e ) : void

Raises the KeyUp event.

OnMouseDown ( MouseEventArgs e ) : void

Raises the MouseDown event.

OnMouseLeave ( EventArgs e ) : void

Raises the MouseLeave event.

OnMouseMove ( MouseEventArgs e ) : void

Raises the MouseMove event.

OnMouseUp ( MouseEventArgs e ) : void

Raises the MouseUp event.

OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void

Processes a notification from palette storage of a paint and optional layout required.

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event.

OnWndProcHitTest ( ViewControlHitTestArgs e ) : void

Raises the WndProcHitTest event.

WndProc ( Message &m ) : void

Process Windows-based messages.

Private Methods

Method Description
GetViewManager ( ) : ViewManager
PaintTransparentBackground ( PaintEventArgs e ) : void

Method Details

OnDoubleClick() protected method

Raises the DoubleClick event.
protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs A KeyEventArgs that contains the event data.
return void

OnKeyDown() protected method

Raises the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
return void

OnKeyPress() protected method

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
return void

OnKeyUp() protected method

Raises the KeyUp event.
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
return void

OnMouseDown() protected method

Raises the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void

OnMouseLeave() protected method

Raises the MouseLeave event.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnMouseMove() protected method

Raises the MouseMove event.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void

OnMouseUp() protected method

Raises the MouseUp event.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void

OnNeedPaint() protected method

Processes a notification from palette storage of a paint and optional layout required.
protected OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
sender object Source of notification.
e NeedLayoutEventArgs An NeedLayoutEventArgs containing event data.
return void

OnPaint() protected method

Raises the Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data.
return void

OnWndProcHitTest() protected method

Raises the WndProcHitTest event.
protected OnWndProcHitTest ( ViewControlHitTestArgs e ) : void
e ViewControlHitTestArgs A ViewControlHitTestArgs containing the event data.
return void

UpdateParent() public method

Gets and sets the root control for point translation and message dispatch.
public UpdateParent ( Control parent ) : void
parent System.Windows.Forms.Control Parent control.
return void

ViewControl() public method

Initialize a new instance of the ViewControl class.
public ViewControl ( VisualControl rootControl ) : System
rootControl VisualControl Top level visual control.
return System

WndProc() protected method

Process Windows-based messages.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A Windows-based message.
return void