C# 클래스 ComponentFactory.Krypton.Toolkit.VisualControlBase

상속: System.Windows.Forms.Control, IKryptonDebug
파일 보기 프로젝트 열기: ComponentFactory/Krypton

Private Properties

프로퍼티 타입 설명
AttachGlobalEvents void
CheckPerformLayout void
CreateToolStripRenderer System.Windows.Forms.ToolStripRenderer
GetResolvedPalette IPalette
GetViewManager ViewManager
KryptonResetCounters void
OnBaseChanged void
OnContextMenuClosed void
OnContextMenuStripOpening void
OnKryptonContextMenuDisposed void
OnPerformLayout void
OnPerformRefresh void
PaintTransparentBackground void
PerformNeedPaint void
SetPalette void
ShouldSerializePaletteMode bool
UnattachGlobalEvents void

공개 메소드들

메소드 설명
ResetPalette ( ) : void

Resets the Palette property to its default value.

ResetPaletteMode ( ) : void

Resets the PaletteMode property to its default value.

ViewFromPoint ( Point pt ) : ViewBase

Gets the view associated with the provided client location.

보호된 메소드들

메소드 설명
CanProcessMnemonic ( ) : bool

Gets a value indicating is processing of mnemonics should be allowed.

ContextMenuClosed ( ) : void

Called when a context menu has just been closed.

CreateRedirector ( ) : PaletteRedirect

Create the redirector instance.

Dispose ( bool disposing ) : void

Clean up any resources being used.

EvalTransparentPaint ( ) : bool

Work out if this control needs to paint transparent areas.

ForceViewLayout ( ) : bool

Force the control to perform a krypton layout to calculate size and positioning.

InvokeLayout ( ) : void

Request a layout be performed before any painting occurs.

MarkLayoutDirty ( ) : void

Mark the layout as being dirty and needing to be performed.

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.

OnGlobalPaletteChanged ( object sender, EventArgs e ) : void

Occurs when the global palette has been changed.

OnGotFocus ( EventArgs e ) : void

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

OnPaletteNeedPaint ( object sender, NeedLayoutEventArgs e ) : void

Processes a notification from palette of a paint and optional layout required.

OnRightToLeftChanged ( EventArgs e ) : void

Raises the RightToLeftChanged event.

OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void

Occurs when a user preference has changed.

PaintBackground ( Graphics g, Brush backBrush, Rectangle backRect ) : void

Perform background painting with the provided default values.

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Processes a command key.

UpdateGlobalEvents ( bool attach ) : void

Update global event attachments.

VisualControlBase ( ) : System

Initialize a new instance of the VisualControl class.

WndProc ( Message &m ) : void

Process Windows-based messages.

비공개 메소드들

메소드 설명
AttachGlobalEvents ( ) : void
CheckPerformLayout ( ) : void
CreateToolStripRenderer ( ) : System.Windows.Forms.ToolStripRenderer
GetResolvedPalette ( ) : IPalette
GetViewManager ( ) : ViewManager
KryptonResetCounters ( ) : void
OnBaseChanged ( object sender, EventArgs e ) : void
OnContextMenuClosed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void
OnContextMenuStripOpening ( object sender, CancelEventArgs e ) : void
OnKryptonContextMenuDisposed ( object sender, EventArgs e ) : void
OnPerformLayout ( ) : void
OnPerformRefresh ( ) : void
PaintTransparentBackground ( PaintEventArgs e ) : void
PerformNeedPaint ( bool needLayout ) : void
SetPalette ( IPalette palette ) : void
ShouldSerializePaletteMode ( ) : bool
UnattachGlobalEvents ( ) : void

메소드 상세

CanProcessMnemonic() 보호된 메소드

Gets a value indicating is processing of mnemonics should be allowed.
protected CanProcessMnemonic ( ) : bool
리턴 bool

ContextMenuClosed() 보호된 메소드

Called when a context menu has just been closed.
protected ContextMenuClosed ( ) : void
리턴 void

CreateRedirector() 보호된 메소드

Create the redirector instance.
protected CreateRedirector ( ) : PaletteRedirect
리턴 PaletteRedirect

Dispose() 보호된 메소드

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

EvalTransparentPaint() 보호된 메소드

Work out if this control needs to paint transparent areas.
protected EvalTransparentPaint ( ) : bool
리턴 bool

ForceViewLayout() 보호된 메소드

Force the control to perform a krypton layout to calculate size and positioning.
protected ForceViewLayout ( ) : bool
리턴 bool

InvokeLayout() 보호된 메소드

Request a layout be performed before any painting occurs.
protected InvokeLayout ( ) : void
리턴 void

MarkLayoutDirty() 보호된 메소드

Mark the layout as being dirty and needing to be performed.
protected MarkLayoutDirty ( ) : void
리턴 void

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

OnGlobalPaletteChanged() 보호된 메소드

Occurs when the global palette has been changed.
protected OnGlobalPaletteChanged ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs 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

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

OnPaletteNeedPaint() 보호된 메소드

Processes a notification from palette of a paint and optional layout required.
protected OnPaletteNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
sender object Source of notification.
e NeedLayoutEventArgs An NeedLayoutEventArgs containing event data.
리턴 void

OnRightToLeftChanged() 보호된 메소드

Raises the RightToLeftChanged event.
protected OnRightToLeftChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing event data.
리턴 void

OnUserPreferenceChanged() 보호된 메소드

Occurs when a user preference has changed.
protected OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void
sender object Source of the event.
e Microsoft.Win32.UserPreferenceChangedEventArgs Event details.
리턴 void

PaintBackground() 보호된 메소드

Perform background painting with the provided default values.
protected PaintBackground ( Graphics g, Brush backBrush, Rectangle backRect ) : void
g System.Drawing.Graphics Graphics reference for drawing.
backBrush System.Drawing.Brush Brush to use when painting.
backRect System.Drawing.Rectangle Client area to paint.
리턴 void

ProcessCmdKey() 보호된 메소드

Processes a command key.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message A Message, passed by reference, that represents the window message to process.
keyData Keys One of the Keys values that represents the key to process.
리턴 bool

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

ViewFromPoint() 공개 메소드

Gets the view associated with the provided client location.
public ViewFromPoint ( Point pt ) : ViewBase
pt Point Point to lookup.
리턴 ViewBase

VisualControlBase() 보호된 메소드

Initialize a new instance of the VisualControl class.
protected VisualControlBase ( ) : System
리턴 System

WndProc() 보호된 메소드

Process Windows-based messages.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A Windows-based message.
리턴 void