C# Class Core2D.Project.XContainer

Container base class.
Inheritance: XSelectable
Afficher le fichier Open project: Core2D/Core2D Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

CreatePage() public static méthode

Creates a new XContainer page instance.
public static CreatePage ( string name = "Page" ) : XContainer
name string The page name.
Résultat XContainer

CreateTemplate() public static méthode

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.
Résultat XContainer

Invalidate() public méthode

Invalidate container layers.
public Invalidate ( ) : void
Résultat void

SetCurrentLayer() public méthode

Set current layer.
public SetCurrentLayer ( XLayer layer ) : void
layer XLayer The layer instance.
Résultat void

XContainer() public méthode

Initializes a new instance of the XContainer class.
public XContainer ( ) : System.Collections.Immutable
Résultat System.Collections.Immutable

this() public méthode

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.
Résultat string