C# Class ComponentFactory.Krypton.Navigator.DropDockingIndicatorsSquare

Draws a window containing square docking indicators.
Inheritance: System.Windows.Forms.Form, IDropDockingIndicator
Exibir arquivo Open project: ComponentFactory/Krypton

Public Methods

Method Description
DropDockingIndicatorsSquare ( IPaletteDragDrop paletteDragDrop, IRenderer renderer, bool showLeft, bool showRight, bool showTop, bool showBottom, bool showMiddle ) : System

Initialize a new instance of the DropDockingIndicatorsSquare class.

MouseReset ( ) : void

Ensure the state is updated to reflect the mouse not being over the control.

ScreenMouseMove ( Point screenPoint ) : int

Perofrm mouse hit testing against a screen point.

ShowRelative ( Rectangle screenRect ) : void

Show the window relative to provided screen rectangle.

Private Methods

Method Description
DrawPath ( Graphics g, Color baseColor, GraphicsPath path ) : void
DropIndicators_Paint ( object sender, PaintEventArgs e ) : void

Method Details

DropDockingIndicatorsSquare() public method

Initialize a new instance of the DropDockingIndicatorsSquare class.
public DropDockingIndicatorsSquare ( IPaletteDragDrop paletteDragDrop, IRenderer renderer, bool showLeft, bool showRight, bool showTop, bool showBottom, bool showMiddle ) : System
paletteDragDrop IPaletteDragDrop Drawing palette.
renderer IRenderer Drawing renderer.
showLeft bool Show left hot area.
showRight bool Show right hot area.
showTop bool Show top hot area.
showBottom bool Show bottom hot area.
showMiddle bool Show middle hot area.
return System

MouseReset() public method

Ensure the state is updated to reflect the mouse not being over the control.
public MouseReset ( ) : void
return void

ScreenMouseMove() public method

Perofrm mouse hit testing against a screen point.
public ScreenMouseMove ( Point screenPoint ) : int
screenPoint Point Screen point.
return int

ShowRelative() public method

Show the window relative to provided screen rectangle.
public ShowRelative ( Rectangle screenRect ) : void
screenRect System.Drawing.Rectangle Screen rectangle.
return void