<< Click to Display Table of Contents >> NShape Reference
|
Defines a model object.
public interface IModelObject : ISecurityDomainObject |
Defines the interface for model objects. Usually, model objects are the business- or data objects of your application. Implement this interface on your application's objects and you will be able to visualize the property values of your objects with shapes by using ModelMappings.
Name |
Description |
---|---|
Name |
The name of the model object. |
Parent |
The model object's parent model object. |
Shapes |
Provides a list of shapes attached to this model object. |
Type |
The model object's ModelObjectType |
Name |
Description |
---|---|
AttachShape |
Attaches a model object to a shape. |
Clone |
Creates a clone of the model object. |
Connect |
Connects the current model object to an other model object. |
DetachShape |
Detaches from a shape. |
Disconnect |
Disconnects from a connected model object. |
GetFloat |
Gets the float value of the float property with the given PropertyId (see PropertyMappingIdAttribute). |
GetInteger |
Gets the integer value of the integer property with the given PropertyId (see PropertyMappingIdAttribute). |
GetMenuItemDefs |
Returns menu item definitions provided by the model object. |
GetString |
Gets the string value of the string property with the given PropertyId (see PropertyMappingIdAttribute). |
Namespace: Dataweb.NShape.Advanced
Assembly: Dataweb.NShape