C# Класс Core2D.Project.XContainer

Container base class.
Наследование: XSelectable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
CreatePage ( string name = "Page" ) : XContainer

Creates a new XContainer page instance.

CreateTemplate ( string name = "Template", double width = 840, double height = 600 ) : XContainer

Creates a new XContainer template instance.

Invalidate ( ) : void

Invalidate container layers.

SetCurrentLayer ( XLayer layer ) : void

Set current layer.

XContainer ( ) : System.Collections.Immutable

Initializes a new instance of the XContainer class.

this ( string name ) : string

Gets or sets property Value using Name as key for data Properties array values.

If property with the specified key does not exist it is created.

Описание методов

CreatePage() публичный статический Метод

Creates a new XContainer page instance.
public static CreatePage ( string name = "Page" ) : XContainer
name string The page name.
Результат XContainer

CreateTemplate() публичный статический Метод

Creates a new XContainer template instance.
public static CreateTemplate ( string name = "Template", double width = 840, double height = 600 ) : XContainer
name string The template name.
width double The template width.
height double The template height.
Результат XContainer

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

Invalidate container layers.
public Invalidate ( ) : void
Результат void

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

Set current layer.
public SetCurrentLayer ( XLayer layer ) : void
layer XLayer The layer instance.
Результат void

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

Initializes a new instance of the XContainer class.
public XContainer ( ) : System.Collections.Immutable
Результат System.Collections.Immutable

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

Gets or sets property Value using Name as key for data Properties array values.
If property with the specified key does not exist it is created.
public this ( string name ) : string
name string The property name value.
Результат string