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

Manages a view presentation for a control display surface.
상속: GlobalId, IDisposable
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
Attach ( Control control, ViewBase root ) : void

Attach the view manager to provided control and root element.

ComponentFromPoint ( Point pt ) : Component

Is the provided point associated with a component.

Dispose ( ) : void

Clean up any resources.

DoubleClick ( Point pt ) : void

Perform double click processing.

EvalTransparentPaint ( IRenderer renderer ) : bool

Perform a layout of the view.

GetPreferredSize ( IRenderer renderer, Size proposedSize ) : Size

Discover the preferred size of the view.

GotFocus ( ) : void

Perform got focus handling.

KeyDown ( KeyEventArgs e ) : void

Perform key down handling.

KeyPress ( KeyPressEventArgs e ) : void

Perform key press handling.

KeyUp ( KeyEventArgs e ) : void

Perform key up handling.

Layout ( IRenderer renderer ) : void

Perform a layout of the view.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the view.

LostFocus ( ) : void

Perform lost focus handling.

MouseDown ( MouseEventArgs e, Point rawPt ) : void

Perform mouse down processing.

MouseLeave ( EventArgs e ) : void

Perform mouse leave processing.

MouseMove ( MouseEventArgs e, Point rawPt ) : void

Perform mouse movement handling.

MouseUp ( MouseEventArgs e, Point rawPt ) : void

Perform mouse up processing.

Paint ( IRenderer renderer, PaintEventArgs e ) : void

Perform a paint of the view.

Paint ( RenderContext context ) : void

Perform a paint of the view.

PerformMouseDownProcessed ( MouseEventArgs e ) : void

Raises the MouseDownProcessed event.

PerformMouseUpProcessed ( MouseEventArgs e ) : void

Raises the MouseUpProcessed event.

ResetCounters ( ) : void

Reset the internal counters.

ViewManager ( ) : System

Initialize a new instance of the ViewManager class.

ViewManager ( Control control, ViewBase root ) : System

Initialize a new instance of the ViewManager class.

보호된 메소드들

메소드 설명
UpdateViewFromPoint ( Control control, Point pt ) : void

Update the active view based on the mouse position.

메소드 상세

Attach() 공개 메소드

Attach the view manager to provided control and root element.
public Attach ( Control control, ViewBase root ) : void
control System.Windows.Forms.Control Owning control.
root ViewBase Root of the view hierarchy.
리턴 void

ComponentFromPoint() 공개 메소드

Is the provided point associated with a component.
public ComponentFromPoint ( Point pt ) : Component
pt Point Mouse point.
리턴 System.ComponentModel.Component

Dispose() 공개 메소드

Clean up any resources.
public Dispose ( ) : void
리턴 void

DoubleClick() 공개 메소드

Perform double click processing.
public DoubleClick ( Point pt ) : void
pt Point Control coordinates point.
리턴 void

EvalTransparentPaint() 공개 메소드

Perform a layout of the view.
public EvalTransparentPaint ( IRenderer renderer ) : bool
renderer IRenderer Renderer provider.
리턴 bool

GetPreferredSize() 공개 메소드

Discover the preferred size of the view.
public GetPreferredSize ( IRenderer renderer, Size proposedSize ) : Size
renderer IRenderer Renderer provider.
proposedSize System.Drawing.Size The custom-sized area for a control.
리턴 System.Drawing.Size

GotFocus() 공개 메소드

Perform got focus handling.
public GotFocus ( ) : void
리턴 void

KeyDown() 공개 메소드

Perform key down handling.
public KeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
리턴 void

KeyPress() 공개 메소드

Perform key press handling.
public KeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
리턴 void

KeyUp() 공개 메소드

Perform key up handling.
public KeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
리턴 void

Layout() 공개 메소드

Perform a layout of the view.
public Layout ( IRenderer renderer ) : void
renderer IRenderer Renderer provider.
리턴 void

Layout() 공개 메소드

Perform a layout of the view.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext View context for layout operation.
리턴 void

LostFocus() 공개 메소드

Perform lost focus handling.
public LostFocus ( ) : void
리턴 void

MouseDown() 공개 메소드

Perform mouse down processing.
public MouseDown ( MouseEventArgs e, Point rawPt ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
rawPt Point The actual point provided from the windows message.
리턴 void

MouseLeave() 공개 메소드

Perform mouse leave processing.
public MouseLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
리턴 void

MouseMove() 공개 메소드

Perform mouse movement handling.
public MouseMove ( MouseEventArgs e, Point rawPt ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
rawPt Point The actual point provided from the windows message.
리턴 void

MouseUp() 공개 메소드

Perform mouse up processing.
public MouseUp ( MouseEventArgs e, Point rawPt ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
rawPt Point The actual point provided from the windows message.
리턴 void

Paint() 공개 메소드

Perform a paint of the view.
public Paint ( IRenderer renderer, PaintEventArgs e ) : void
renderer IRenderer Renderer provider.
e PaintEventArgs A PaintEventArgs that contains the event data.
리턴 void

Paint() 공개 메소드

Perform a paint of the view.
public Paint ( RenderContext context ) : void
context RenderContext Renderer context.
리턴 void

PerformMouseDownProcessed() 공개 메소드

Raises the MouseDownProcessed event.
public PerformMouseDownProcessed ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs containing the event data.
리턴 void

PerformMouseUpProcessed() 공개 메소드

Raises the MouseUpProcessed event.
public PerformMouseUpProcessed ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs containing the event data.
리턴 void

ResetCounters() 공개 메소드

Reset the internal counters.
public ResetCounters ( ) : void
리턴 void

UpdateViewFromPoint() 보호된 메소드

Update the active view based on the mouse position.
protected UpdateViewFromPoint ( Control control, Point pt ) : void
control System.Windows.Forms.Control Source control.
pt Point Point within the source control.
리턴 void

ViewManager() 공개 메소드

Initialize a new instance of the ViewManager class.
public ViewManager ( ) : System
리턴 System

ViewManager() 공개 메소드

Initialize a new instance of the ViewManager class.
public ViewManager ( Control control, ViewBase root ) : System
control System.Windows.Forms.Control Owning control.
root ViewBase Root of the view hierarchy.
리턴 System