C# Class ComponentFactory.Krypton.Toolkit.VisualPopupShadow

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode Description
ClearPaths ( ) : void
DrawPaths ( Graphics g ) : void
DrawShadow ( Graphics g, Rectangle area ) : void
VisualPopupShadow ( ) : System

Method Details

DefinePaths() public méthode

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.
Résultat void

Dispose() protected méthode

Disposing of instance resources.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnPaint() protected méthode

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

OnPaintBackground() protected méthode

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

Show() public méthode

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.
Résultat void