C# Class ComponentFactory.Krypton.Toolkit.VisualPanel

Inheritance: System.Windows.Forms.Panel, ISupportInitializeNotification, IKryptonDebug
Afficher le fichier Open project: ComponentFactory/Krypton

Private Properties

Свойство Type Description
AttachGlobalEvents void
CreateToolStripRenderer System.Windows.Forms.ToolStripRenderer
GetResolvedPalette IPalette
KryptonResetCounters void
OnContextMenuClosed void
OnContextMenuStripOpening void
OnGlobalPaletteChanged void
OnPerformRefresh void
OnUserPreferenceChanged void
PaintTransparentBackground void
SetPalette void
ShouldSerializePaletteMode bool
UnattachGlobalEvents void

Méthodes publiques

Méthode Description
BeginInit ( ) : void

Signals the object that initialization is starting.

EndInit ( ) : void

Signals the object that initialization is complete.

PerformNeedPaint ( bool needLayout ) : void

Fires the NeedPaint event.

ResetPalette ( ) : void

Resets the Palette property to its default value.

ResetPaletteMode ( ) : void

Resets the PaletteMode property to its default value.

Méthodes protégées

Méthode Description
ContextMenuClosed ( ) : void

Called when a context menu has just been closed.

Dispose ( bool disposing ) : void

Clean up any resources being used.

EvalTransparentPaint ( ) : bool

Work out if this control needs to paint transparent areas.

OnButtonSpecChanged ( object sender, EventArgs e ) : void

Processes a notification from palette storage of a button spec change.

OnDoubleClick ( EventArgs e ) : void

Raises the DoubleClick event.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnInitialized ( EventArgs e ) : void

Raises the Initialized 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.

OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void

Raises the Layout event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus 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.

OnPaletteChanged ( EventArgs e ) : void

Raises the PaletteChanged event.

OnRightToLeftChanged ( EventArgs e ) : void

Raises the RightToLeftChanged event.

UpdateGlobalEvents ( bool attach ) : void

Update global event attachments.

VisualPanel ( ) : System

Initialize a new instance of the VisualPanel class.

Private Methods

Méthode Description
AttachGlobalEvents ( ) : void
CreateToolStripRenderer ( ) : System.Windows.Forms.ToolStripRenderer
GetResolvedPalette ( ) : IPalette
KryptonResetCounters ( ) : void
OnContextMenuClosed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void
OnContextMenuStripOpening ( object sender, CancelEventArgs e ) : void
OnGlobalPaletteChanged ( object sender, EventArgs e ) : void
OnPerformRefresh ( ) : void
OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void
PaintTransparentBackground ( PaintEventArgs e ) : void
SetPalette ( IPalette palette ) : void
ShouldSerializePaletteMode ( ) : bool
UnattachGlobalEvents ( ) : void

Method Details

BeginInit() public méthode

Signals the object that initialization is starting.
public BeginInit ( ) : void
Résultat void

ContextMenuClosed() protected méthode

Called when a context menu has just been closed.
protected ContextMenuClosed ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

EndInit() public méthode

Signals the object that initialization is complete.
public EndInit ( ) : void
Résultat void

EvalTransparentPaint() protected méthode

Work out if this control needs to paint transparent areas.
protected EvalTransparentPaint ( ) : bool
Résultat bool

OnButtonSpecChanged() protected méthode

Processes a notification from palette storage of a button spec change.
protected OnButtonSpecChanged ( object sender, EventArgs e ) : void
sender object Source of notification.
e System.EventArgs An EventArgs containing event data.
Résultat void

OnDoubleClick() protected méthode

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

OnGotFocus() protected méthode

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Résultat void

OnInitialized() protected méthode

Raises the Initialized event.
protected OnInitialized ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Résultat void

OnKeyDown() protected méthode

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

OnKeyPress() protected méthode

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

OnKeyUp() protected méthode

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

OnLayout() protected méthode

Raises the Layout event.
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs A LayoutEventArgs that contains the event data.
Résultat void

OnLostFocus() protected méthode

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Résultat void

OnMouseDown() protected méthode

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

OnMouseLeave() protected méthode

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

OnMouseMove() protected méthode

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

OnMouseUp() protected méthode

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

OnNeedPaint() protected méthode

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

OnPaint() protected méthode

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

OnPaletteChanged() protected méthode

Raises the PaletteChanged event.
protected OnPaletteChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Résultat void

OnRightToLeftChanged() protected méthode

Raises the RightToLeftChanged event.
protected OnRightToLeftChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing event data.
Résultat void

PerformNeedPaint() public méthode

Fires the NeedPaint event.
public PerformNeedPaint ( bool needLayout ) : void
needLayout bool Does the palette change require a layout.
Résultat void

ResetPalette() public méthode

Resets the Palette property to its default value.
public ResetPalette ( ) : void
Résultat void

ResetPaletteMode() public méthode

Resets the PaletteMode property to its default value.
public ResetPaletteMode ( ) : void
Résultat void

UpdateGlobalEvents() protected méthode

Update global event attachments.
protected UpdateGlobalEvents ( bool attach ) : void
attach bool True if attaching; otherwise false.
Résultat void

VisualPanel() protected méthode

Initialize a new instance of the VisualPanel class.
protected VisualPanel ( ) : System
Résultat System