NShape Reference
PropertyController Class

<< Click to Display Table of Contents >>

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

NShape Reference
PropertyController Class

Previous pageReturn to chapter overviewNext page

Provides methods and properties for managing the properties of two lists of objects.

Syntax

public class PropertyController : ComponentIPropertyController

Description

Provides methods and properties for managing the properties of two lists of objects.

Public Properties

Name

Description

ProductVersion

The version of the component.

Project

Provides access to an NShape project.

Public Methods

Name

Description

CancelSetProperty

Discard all changes on the selected object's properties made so far.

CommitSetProperty

Commits all changes on the selected object's properties made so far.

Constructor

Constructs a new instance.

GetSelectedObject

Gets the selected object of the indicated page.

GetSelectedObjects

Gets a list of the selected objects of the indicated page.

GetSelectedObjectsCount

Gets the number of selected objects of the indicated page.

SetObject

Sets the given object as selected object of the indicated page.

SetObjects

Sets the given objects as selected objects of the indicated page.

SetPropertyValue

Sets the indicated object's property to the given value.

Events

Name

Description

ObjectsModified

Occurs if the selected objects has been modified outside the PropertyController.

ObjectsSet

Occurs if objects have been set as selected objects.

ProjectClosing

Occurs if the project is going to be closed.

PropertyChanged

Occurs if the PropertyController has modified properties of the selected objects.

Protected Methods

Name

Description

Dispose

Implementation of Component.Dispose.

Requirements

Namespace: Dataweb.NShape.Controllers

Assembly: Dataweb.NShape