Skip to main content

DiagramStencil Members

Represents a set of shapes.

Constructors

Name Description
DiagramStencil(String, Func<String>) Obsolete. This API is obsolete now.
DiagramStencil(String, String, Boolean)
DiagramStencil(String, String)

Properties

Name Description
ContainerShapes
Id Gets the stencil identifier.
IsVisible Gets whether the stencil is available in the Shapes Panel.
Name Gets the stencil name displayed in the Shapes Panel.
Shapes Gets the collection of shapes associated with the stencil.
Tools

Methods

Name Description
ContainsShape(ShapeDescriptionBase)
ContainsShape(String)
ConvertShapesToXml(IDictionary, Stream) static
Create(String, String, IEnumerable<ShapeDescriptionBase>, Boolean) static
Create(String, String, IEnumerable<ShapeTemplateBase>, Func<String, String>, Boolean) static
Create(String, String, IDictionary, Func<String, String>, Boolean) static
Create(String, String, Stream, Func<String, String>, Boolean) static
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetContainerShape(String)
GetHashCode() Serves as the default hash function. Inherited from Object.
GetShape(String)
GetTool(String)
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterShape(ShapeDescriptionBase) Adds the specified shape to the stencil.
RegisterTool(ItemTool) Adds the specified item tool to the stencil.
ToString() Returns a string that represents the current object. Inherited from Object.
UnregisterShape(ShapeDescriptionBase) Removes the specified shape from the stencil.
UnregisterTool(ItemTool)
UnregisterTool(String)
See Also