ImageShape Class
Base class for shapes that display an image.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ImageShape.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ImageShape.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("2d0c185a-67e5-417b-9328-ec6e1a97afd4")> _
<CLSCompliantAttribute(True)> _
Public MustInherit Class ImageShape _
Inherits NodeShape
'Usage
Dim instance As ImageShape
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ImageShape.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ImageShape.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("2d0c185a-67e5-417b-9328-ec6e1a97afd4")]
[CLSCompliantAttribute(true)]
public abstract class ImageShape : NodeShape
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.ImageShape.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.ImageShape.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"2d0c185a-67e5-417b-9328-ec6e1a97afd4")]
[CLSCompliantAttribute(true)]
public ref class ImageShape abstract : public NodeShape
public abstract class ImageShape extends NodeShape
Remarks
Image shapes that you specify in DSL Definition are derived from this class.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ModelElement
Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
Microsoft.VisualStudio.Modeling.Diagrams.ImageShape
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.