C# Class ComponentFactory.Krypton.Toolkit.VisualPopupShadow

Displays a shadow effect for a visual popup.
Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
DefinePaths ( GraphicsPath path1, GraphicsPath path2, GraphicsPath path3 ) : void

Define the drawing paths for the shadow.

Show ( Rectangle screenRect ) : void

Show the popup using the provided rectangle as the screen rect.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposing of instance resources.

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event.

OnPaintBackground ( PaintEventArgs pevent ) : void

Raises the PaintBackground event.

Private Methods

Method Description
ClearPaths ( ) : void
DrawPaths ( Graphics g ) : void
DrawShadow ( Graphics g, Rectangle area ) : void
VisualPopupShadow ( ) : System

Method Details

DefinePaths() public method

Define the drawing paths for the shadow.
public DefinePaths ( GraphicsPath path1, GraphicsPath path2, GraphicsPath path3 ) : void
path1 System.Drawing.Drawing2D.GraphicsPath Outer path.
path2 System.Drawing.Drawing2D.GraphicsPath Middle path.
path3 System.Drawing.Drawing2D.GraphicsPath Inside path.
return void

Dispose() protected method

Disposing of instance resources.
protected Dispose ( bool disposing ) : void
disposing bool
return void

OnPaint() protected method

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

OnPaintBackground() protected method

Raises the PaintBackground event.
protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs A PaintEventArgs containing the event data.
return void

Show() public method

Show the popup using the provided rectangle as the screen rect.
public Show ( Rectangle screenRect ) : void
screenRect System.Drawing.Rectangle Screen rectangle for showing the popup.
return void