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

Extends the base class by implementing an end node view.
상속: ViewBase
파일 보기 프로젝트 열기: Cocotteseb/Krypton

공개 메소드들

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

Append a view to the collection.

Clear ( ) : void

Remove all views from the collection.

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.

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.

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.

보호된 메소드들

메소드 설명
ViewLeaf ( ) : System

Initialize a new instance of the ViewLeaf 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

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

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

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

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

ViewFromPoint() 공개 메소드

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

ViewLeaf() 보호된 메소드

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

this() 공개 메소드

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