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

상속: System.Windows.Forms.ContainerControl
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CalculateBelowPopupRect System.Drawing.Rectangle
CreateToolStripRenderer System.Windows.Forms.ToolStripRenderer
GetResolvedPalette IPalette
OnPerformRefresh void
PerformNeedPaint void

공개 메소드들

메소드 설명
AllowMouseMove ( Message m, Point pt ) : bool

Should the mouse move at provided screen point be allowed.

DefineShadowPaths ( GraphicsPath path1, GraphicsPath path2, GraphicsPath path3 ) : void

Define the drawing paths for the shadow.

DoesCurrentMouseDownContinueTracking ( Message m, Point pt ) : bool

Should a mouse down at the provided point allow tracking to continue.

DoesCurrentMouseDownEndAllTracking ( Message m, Point pt ) : bool

Should a mouse down at the provided point cause an end to popup tracking.

DoesMouseDownGetEaten ( Message m, Point pt ) : bool

Should the mouse down be eaten when the tracking has been ended.

DoesStackedClientMouseDownBecomeCurrent ( Message m, Point pt ) : bool

Should a mouse down at the provided point cause it to become the current tracking popup.

GetViewManager ( ) : ViewManager

Gets access to the view manager of the popup.

Show ( Rectangle screenRect ) : void

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

Show ( Rectangle parentScreenRect, Size popupSize ) : void

Show the popup with the given size but relative to the provided parent rectangle.

VisualPopup ( IRenderer renderer, bool shadow ) : System

Initialize a new instance of the VisualPopup class.

VisualPopup ( ViewManager viewManager, IRenderer renderer, bool shadow ) : System

Initialize a new instance of the VisualPopup class.

VisualPopup ( bool shadow ) : System

Initialize a new instance of the VisualPopup class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnDoubleClick ( EventArgs e ) : void

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

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.

ProcessDialogKey ( Keys keyData ) : bool

Processes a dialog key.

WndProc ( Message &m ) : void

Processes Windows messages.

비공개 메소드들

메소드 설명
CalculateBelowPopupRect ( Rectangle parentScreenRect, Size popupSize ) : Rectangle
CreateToolStripRenderer ( ) : System.Windows.Forms.ToolStripRenderer
GetResolvedPalette ( ) : IPalette
OnPerformRefresh ( ) : void
PerformNeedPaint ( bool needLayout ) : void

메소드 상세

AllowMouseMove() 공개 메소드

Should the mouse move at provided screen point be allowed.
public AllowMouseMove ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Client coordinates point.
리턴 bool

DefineShadowPaths() 공개 메소드

Define the drawing paths for the shadow.
public DefineShadowPaths ( 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.
리턴 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

DoesCurrentMouseDownContinueTracking() 공개 메소드

Should a mouse down at the provided point allow tracking to continue.
public DoesCurrentMouseDownContinueTracking ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Client coordinates point.
리턴 bool

DoesCurrentMouseDownEndAllTracking() 공개 메소드

Should a mouse down at the provided point cause an end to popup tracking.
public DoesCurrentMouseDownEndAllTracking ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Client coordinates point.
리턴 bool

DoesMouseDownGetEaten() 공개 메소드

Should the mouse down be eaten when the tracking has been ended.
public DoesMouseDownGetEaten ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Screen coordinates point.
리턴 bool

DoesStackedClientMouseDownBecomeCurrent() 공개 메소드

Should a mouse down at the provided point cause it to become the current tracking popup.
public DoesStackedClientMouseDownBecomeCurrent ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Client coordinates point.
리턴 bool

GetViewManager() 공개 메소드

Gets access to the view manager of the popup.
public GetViewManager ( ) : ViewManager
리턴 ViewManager

OnDoubleClick() 보호된 메소드

Raises the DoubleClick event.
protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs A KeyEventArgs 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

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

ProcessDialogKey() 보호된 메소드

Processes a dialog key.
protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys One of the Keys values that represents the key to process.
리턴 bool

Show() 공개 메소드

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.
리턴 void

Show() 공개 메소드

Show the popup with the given size but relative to the provided parent rectangle.
public Show ( Rectangle parentScreenRect, Size popupSize ) : void
parentScreenRect System.Drawing.Rectangle Screen rectangle of parent area.
popupSize System.Drawing.Size Size of the popup to show.
리턴 void

VisualPopup() 공개 메소드

Initialize a new instance of the VisualPopup class.
public VisualPopup ( IRenderer renderer, bool shadow ) : System
renderer IRenderer Drawing renderer.
shadow bool Does the popup need a shadow effect.
리턴 System

VisualPopup() 공개 메소드

Initialize a new instance of the VisualPopup class.
public VisualPopup ( ViewManager viewManager, IRenderer renderer, bool shadow ) : System
viewManager ViewManager View manager instance for managing view display.
renderer IRenderer Drawing renderer.
shadow bool Does the popup need a shadow effect.
리턴 System

VisualPopup() 공개 메소드

Initialize a new instance of the VisualPopup class.
public VisualPopup ( bool shadow ) : System
shadow bool Does the popup need a shadow effect.
리턴 System

WndProc() 보호된 메소드

Processes Windows messages.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message The Windows Message to process.
리턴 void