NShape Reference
DesignController Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Controllers >

NShape Reference
DesignController Class

Previous pageReturn to chapter overviewNext page

Provides methods and properties for managing designs.

Syntax

public class DesignController : Component

Description

Provides methods and properties for managing designs.

Public Properties

Name

Description

Designs

Provides access to a read only list of all designs stored in the repository.

ProductVersion

Returns the version of the component.

Project

provides access to a Project.

Public Methods

Name

Description

CanDelete

Checks if the given design can be deleted.

Constructor

Constructs a new instance.

CreateDesign

Creates a new design and adds it to the repository.

CreateStyle

Creates a new style for the given design and adds it to the repository.

DeleteDesign

Deletes the given design.

DeleteStyle

Deletes the given style.

GetOwnerStyles

Returns a list of styles that use the given style.

ReplaceStyle

 

Events

Name

Description

DesignChanged

Occurs when the active design has changed.

DesignCreated

Occurs when a new design has been created.

DesignDeleted

Occurs when a design has been deleted.

Initialized

Occurs when the the controller has been initialized and is ready to use.

StyleChanged

Occurs when the active style has changed.

StyleCreated

Occurs when a new style has been created.

StyleDeleted

Occurs when a style has been deleted.

Uninitialized

Occurs when the the controller has been uninitialized and may not be used any longer.

Requirements

Namespace: Dataweb.NShape.Controllers

Assembly: Dataweb.NShape