ModelDiagramShape Class |
Namespace: Packflow.Modeling
public class ModelDiagramShape : ModelingObject
The ModelDiagramShape type exposes the following members.
Name | Description | |
---|---|---|
ModelDiagramShape |
Initializes a new instance of the ModelDiagramShape class.
| |
ModelDiagramShape(String) |
Initializes a new instance of the ModelDiagramShape class.
|
Name | Description | |
---|---|---|
BackColor |
Gets or sets the back color of the shape in the model schema.
This is an helper property, the source value is BackColoration.
| |
Caption |
Gets or sets the shape caption.
| |
CaptionRes |
Gets or sets the resource containing translations for the Caption property.
| |
Coloration |
Gets or sets the back color (of the shape in the model schema) as text (ARGB format).
| |
Guid |
Gets the GUID identifying this object.
(Inherited from ModelingObject.) | |
Height |
Gets or sets the height of the shape.
Default value: 70.
| |
Id |
Gets the id identifying this object.
(Inherited from ModelingObject.) | |
InstanceGuid |
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.) | |
InstanceLanguage |
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.) | |
IsExtended |
Gets a value indicating whether this object is Extended or not, allowing to avoid an "is" verification.
(Inherited from ModelingObject.) | |
Model |
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.) | |
Name |
Gets the name of this object.
(Inherited from ModelingObject.) | |
Parent |
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
ParentType |
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.) | |
PosX |
Gets or sets the horizontal position in the model schema.
Default value: 50.
| |
PosY |
Gets or sets the vertical position in the model schema.
Default value: 50.
| |
Style |
Gets or sets the shape style.
| |
TargetObjectGuid |
Gets or sets the target object identifier (see the Type property to know what kind of object it is).
| |
Type |
Gets or sets the shape type, describing what it is referencing.
| |
Width |
Gets or sets the width of the shape.
Default value: 150.
|
Name | Description | |
---|---|---|
Children |
Returns all children objects.
(Inherited from ModelingObject.) | |
GetGuid |
Gets the Guid.
(Inherited from ModelingObject.) | |
GetListItem |
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.) | |
GetName |
Gets the name.
(Inherited from ModelingObject.) | |
GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
IsLabel |
Determines whether this instance is a diagram label (no target object, transparent background).
| |
IsTargeting |
Determines whether the specified object is the one referenced by this shape.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetContentType |
Tries to get the content-type targeted by this shape.
If the type is ContentType, returns a local content-type.
If the type is LinkedContentType, returns the LinkedContentType of the referenced model.
Other types returns null.
|
Name | Description | |
---|---|---|
DefaultHeight |
The default shape height.
| |
DefaultWidth |
The default whape width.
|
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |