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

Base class from which all decorator views inherit.
상속: ViewBase
파일 보기 프로젝트 열기: ComponentFactory/Krypton

공개 메소드들

메소드 설명
Add ( ViewBase item ) : void

Append a view to the collection.

Clear ( ) : void

Remove all views from the collection.

ClearFixedState ( ) : void

Clear down the use of the fixed state

Contains ( ViewBase item ) : bool

Determines whether the collection contains the view.

ContainsRecurse ( ViewBase item ) : bool

Determines whether any part of the view hierarchy is the specified view.

CopyTo ( ViewBase array, int arrayIndex ) : void

Copies views to specified array starting at particular index.

EvalTransparentPaint ( ViewContext context ) : bool

Evaluate the need for drawing transparent areas.

GetEnumerator ( ) : IEnumerator

Shallow enumerate forward over children of the element.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

GotFocus ( Control c ) : void

Source control has got the focus.

IndexOf ( ViewBase item ) : int

Determines the index of the specified view in the collection.

Insert ( int index, ViewBase item ) : void

Inserts a view to the collection at the specified index.

KeyDown ( KeyEventArgs e ) : void

Key has been pressed down.

KeyPress ( KeyPressEventArgs e ) : void

Key has been pressed.

KeyUp ( KeyEventArgs e ) : bool

Key has been released.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

LostFocus ( Control c ) : void

Source control has lost the focus.

MouseDown ( Point pt, MouseButtons button ) : bool

Mouse button has been pressed in the view.

MouseEnter ( ) : void

Mouse has entered the view.

MouseLeave ( ViewBase next ) : void

Mouse has left the view.

MouseMove ( Point pt ) : void

Mouse has moved inside the view.

MouseUp ( Point pt, MouseButtons button ) : void

Mouse button has been released in the view.

Recurse ( ) : IEnumerable

Deep enumerate forward over children of the element.

Remove ( ViewBase item ) : bool

Removes first occurance of specified view.

RemoveAt ( int index ) : void

Removes the view at the specified index.

Render ( RenderContext context ) : void

Perform a render of the elements.

Reverse ( ) : IEnumerable

Shallow enumerate backwards over children of the element.

ReverseRecurse ( ) : IEnumerable

Deep enumerate backwards over children of the element.

ToString ( ) : string

Obtains the String representation of this instance.

ViewFromPoint ( Point pt ) : ViewBase

Find the view that contains the specified point.

this ( int index ) : ViewBase

Gets or sets the view at the specified index.

보호된 메소드들

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

Release unmanaged and optionally managed resources.

ViewDecorator ( ViewBase child ) : System

Initialize a new instance of the ViewBase class.

메소드 상세

Add() 공개 메소드

Append a view to the collection.
public Add ( ViewBase item ) : void
item ViewBase ViewBase reference.
리턴 void

Clear() 공개 메소드

Remove all views from the collection.
public Clear ( ) : void
리턴 void

ClearFixedState() 공개 메소드

Clear down the use of the fixed state
public ClearFixedState ( ) : void
리턴 void

Contains() 공개 메소드

Determines whether the collection contains the view.
public Contains ( ViewBase item ) : bool
item ViewBase ViewBase reference.
리턴 bool

ContainsRecurse() 공개 메소드

Determines whether any part of the view hierarchy is the specified view.
public ContainsRecurse ( ViewBase item ) : bool
item ViewBase ViewBase reference.
리턴 bool

CopyTo() 공개 메소드

Copies views to specified array starting at particular index.
public CopyTo ( ViewBase array, int arrayIndex ) : void
array ViewBase Target array.
arrayIndex int Starting array index.
리턴 void

Dispose() 보호된 메소드

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
리턴 void

EvalTransparentPaint() 공개 메소드

Evaluate the need for drawing transparent areas.
public EvalTransparentPaint ( ViewContext context ) : bool
context ViewContext Evaluation context.
리턴 bool

GetEnumerator() 공개 메소드

Shallow enumerate forward over children of the element.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetPreferredSize() 공개 메소드

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
리턴 System.Drawing.Size

GotFocus() 공개 메소드

Source control has got the focus.
public GotFocus ( Control c ) : void
c System.Windows.Forms.Control Reference to the source control instance.
리턴 void

IndexOf() 공개 메소드

Determines the index of the specified view in the collection.
public IndexOf ( ViewBase item ) : int
item ViewBase ViewBase reference.
리턴 int

Insert() 공개 메소드

Inserts a view to the collection at the specified index.
public Insert ( int index, ViewBase item ) : void
index int Insert index.
item ViewBase ViewBase reference.
리턴 void

KeyDown() 공개 메소드

Key has been pressed down.
public KeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
리턴 void

KeyPress() 공개 메소드

Key has been pressed.
public KeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
리턴 void

KeyUp() 공개 메소드

Key has been released.
public KeyUp ( KeyEventArgs e ) : bool
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
리턴 bool

Layout() 공개 메소드

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
리턴 void

LostFocus() 공개 메소드

Source control has lost the focus.
public LostFocus ( Control c ) : void
c System.Windows.Forms.Control Reference to the source control instance.
리턴 void

MouseDown() 공개 메소드

Mouse button has been pressed in the view.
public MouseDown ( Point pt, MouseButtons button ) : bool
pt Point Mouse position relative to control.
button MouseButtons Mouse button pressed down.
리턴 bool

MouseEnter() 공개 메소드

Mouse has entered the view.
public MouseEnter ( ) : void
리턴 void

MouseLeave() 공개 메소드

Mouse has left the view.
public MouseLeave ( ViewBase next ) : void
next ViewBase Reference to view that is next to have the mouse.
리턴 void

MouseMove() 공개 메소드

Mouse has moved inside the view.
public MouseMove ( Point pt ) : void
pt Point Mouse position relative to control.
리턴 void

MouseUp() 공개 메소드

Mouse button has been released in the view.
public MouseUp ( Point pt, MouseButtons button ) : void
pt Point Mouse position relative to control.
button MouseButtons Mouse button released.
리턴 void

Recurse() 공개 메소드

Deep enumerate forward over children of the element.
public Recurse ( ) : IEnumerable
리턴 IEnumerable

Remove() 공개 메소드

Removes first occurance of specified view.
public Remove ( ViewBase item ) : bool
item ViewBase ViewBase reference.
리턴 bool

RemoveAt() 공개 메소드

Removes the view at the specified index.
public RemoveAt ( int index ) : void
index int Remove index.
리턴 void

Render() 공개 메소드

Perform a render of the elements.
public Render ( RenderContext context ) : void
context RenderContext Rendering context.
리턴 void

Reverse() 공개 메소드

Shallow enumerate backwards over children of the element.
public Reverse ( ) : IEnumerable
리턴 IEnumerable

ReverseRecurse() 공개 메소드

Deep enumerate backwards over children of the element.
public ReverseRecurse ( ) : IEnumerable
리턴 IEnumerable

ToString() 공개 메소드

Obtains the String representation of this instance.
public ToString ( ) : string
리턴 string

ViewDecorator() 보호된 메소드

Initialize a new instance of the ViewBase class.
protected ViewDecorator ( ViewBase child ) : System
child ViewBase
리턴 System

ViewFromPoint() 공개 메소드

Find the view that contains the specified point.
public ViewFromPoint ( Point pt ) : ViewBase
pt Point Point in view coordinates.
리턴 ViewBase

this() 공개 메소드

Gets or sets the view at the specified index.
public this ( int index ) : ViewBase
index int ViewBase index.
리턴 ViewBase