C# Класс ComponentFactory.Krypton.Toolkit.VisualPanel

Наследование: System.Windows.Forms.Panel, ISupportInitializeNotification, IKryptonDebug
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

BeginInit() публичный Метод

Signals the object that initialization is starting.
public BeginInit ( ) : void
Результат void

ContextMenuClosed() защищенный Метод

Called when a context menu has just been closed.
protected ContextMenuClosed ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

EndInit() публичный Метод

Signals the object that initialization is complete.
public EndInit ( ) : void
Результат void

EvalTransparentPaint() защищенный Метод

Work out if this control needs to paint transparent areas.
protected EvalTransparentPaint ( ) : bool
Результат bool

OnButtonSpecChanged() защищенный Метод

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.
Результат void

OnDoubleClick() защищенный Метод

Raises the DoubleClick event.
protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs A KeyEventArgs that contains the event data.
Результат void

OnGotFocus() защищенный Метод

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

OnInitialized() защищенный Метод

Raises the Initialized event.
protected OnInitialized ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnKeyDown() защищенный Метод

Raises the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
Результат void

OnKeyPress() защищенный Метод

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
Результат void

OnKeyUp() защищенный Метод

Raises the KeyUp event.
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
Результат void

OnLayout() защищенный Метод

Raises the Layout event.
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs A LayoutEventArgs that contains the event data.
Результат void

OnLostFocus() защищенный Метод

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

OnMouseDown() защищенный Метод

Raises the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
Результат void

OnMouseLeave() защищенный Метод

Raises the MouseLeave event.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

OnMouseMove() защищенный Метод

Raises the MouseMove event.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
Результат void

OnMouseUp() защищенный Метод

Raises the MouseUp event.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
Результат void

OnNeedPaint() защищенный Метод

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.
Результат void

OnPaint() защищенный Метод

Raises the Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data.
Результат void

OnPaletteChanged() защищенный Метод

Raises the PaletteChanged event.
protected OnPaletteChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
Результат void

OnRightToLeftChanged() защищенный Метод

Raises the RightToLeftChanged event.
protected OnRightToLeftChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing event data.
Результат void

PerformNeedPaint() публичный Метод

Fires the NeedPaint event.
public PerformNeedPaint ( bool needLayout ) : void
needLayout bool Does the palette change require a layout.
Результат void

ResetPalette() публичный Метод

Resets the Palette property to its default value.
public ResetPalette ( ) : void
Результат void

ResetPaletteMode() публичный Метод

Resets the PaletteMode property to its default value.
public ResetPaletteMode ( ) : void
Результат void

UpdateGlobalEvents() защищенный Метод

Update global event attachments.
protected UpdateGlobalEvents ( bool attach ) : void
attach bool True if attaching; otherwise false.
Результат void

VisualPanel() защищенный Метод

Initialize a new instance of the VisualPanel class.
protected VisualPanel ( ) : System
Результат System