C# Класс ComponentFactory.Krypton.Toolkit.ViewComposite

Extends the base class by managing a collection of child views.
Наследование: ViewBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

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.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

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.

ViewComposite ( ) : System

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

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

Layout() публичный Метод

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Результат 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

ViewComposite() защищенный Метод

Initialize a new instance of the ViewComposite class.
protected ViewComposite ( ) : System
Результат 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