This documentation is archived and is not being maintained.

ImageShape Class

DomainClass ImageShape Defines a shape that displays an image.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

[ValidationStateAttribute(ValidationState.Enabled)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ImageShape.DisplayName", 
	typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ImageShape.Description", 
	typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainModelOwnerAttribute(typeof(DslDefinitionModelDomainModel))]
[CLSCompliantAttribute(true)]
[DomainObjectIdAttribute("133711c8-1593-4106-8688-cbc9c5f89bc3")]
public sealed class ImageShape : Shape

The ImageShape type exposes the following members.

  NameDescription
Public propertyAccessModifierGets or sets the value of AccessModifier domain property. Determines if the access modifier for the domain class is public or internal. (Inherited from DomainClass.)
Public propertyAllDescendantsGets a read-only list of all domain classes directly or indirectly derived from this one. (Inherited from DomainClass.)
Public propertyAllPropertiesThe set of all DomainProperties both defined on this class and inherited from base classes. (Inherited from DomainClass.)
Public propertyAllRolesPlayedThe set of all DomainRoles both played directly by this class and inherited from base classes. (Inherited from DomainClass.)
Public propertyAttributesGets a list of Attributes. (Inherited from AttributedDomainElement.)
Public propertyBaseClassGets or sets BaseClass. Base image shape of this image shape. (Overrides DomainClass.BaseClass.)
Public propertyClassDataGets or sets ClassData. Xml serialization configuration data for the domain class. (Inherited from DomainClass.)
Public propertyCustomAttributesGets or sets the value of CustomAttributes domain property. Used to attribute the code generated from this element. (Inherited from AttributedDomainElement.)
Public propertyCustomTypeDescriptorGets or sets CustomTypeDescriptor. Definition of the custom type descriptor for the class. (Inherited from DomainClass.)
Public propertyDecoratorsGets a list of Decorators. Decorators for the diagram element. (Inherited from DiagramElement.)
Public propertyDescriptionGets or sets the value of Description domain property. Used in the UI and in the code documentation of the generated designer. (Inherited from AttributedDomainElement.)
Public propertyDisplayNameGets or sets the value of DisplayName domain property. The name that will be displayed in the generated designer for this element. (Inherited from NamedDomainElement.)
Public propertyDslLibraryGets or sets DslLibrary. Dsl library defining the shape. (Inherited from BaseShape.)
Public propertyElementMergeDirectivesGets a list of ElementMergeDirectives. (Inherited from DomainClass.)
Public propertyExposesFillColorAsPropertyGets or sets the value of ExposesFillColorAsProperty domain property. If True, a domain property has been added to the shape to allow the fill color to be exposed in the properties window of the generated designer. (Inherited from Shape.)
Public propertyExposesFillGradientModeGets or sets the value of ExposesFillGradientMode domain property. If True, a domain property has been added to the shape to allow the fill gradient mode to be exposed in the properties window of the generated designer. (Inherited from Shape.)
Public propertyExposesOutlineColorAsPropertyGets or sets the value of ExposesOutlineColorAsProperty domain property. If True, a domain property has been added to the shape to allow the outline color to be exposed in the properties window of the generated designer. (Inherited from Shape.)
Public propertyExposesOutlineDashStyleAsPropertyGets or sets the value of ExposesOutlineDashStyleAsProperty domain property. If True, a domain property has been added to the shape to allow the outline dash style to be exposed in the properties window of the generated designer. (Inherited from Shape.)
Public propertyExposesOutlineThicknessAsPropertyGets or sets the value of ExposesOutlineThicknessAsProperty domain property. If True, a domain property has been added to the shape to allow the outline thickness to be exposed in the properties window of the generated designer. (Inherited from Shape.)
Public propertyExposesTextColorGets or sets the value of ExposesTextColor domain property. If True, a domain property has been added to the connector to allow the text color to be exposed in the properties window of the generated designer. (Inherited from DiagramElement.)
Public propertyFillColorGets or sets the value of FillColor domain property. Fill color of this shape. (Inherited from Shape.)
Public propertyFillGradientModeGets or sets the value of FillGradientMode domain property. Fill gradient mode of this shape. (Inherited from Shape.)
Public propertyFixedTooltipTextGets or sets the value of FixedTooltipText domain property. Text used for a fixed tooltip. (Inherited from DiagramElement.)
Public propertyGeneratesDoubleDerivedGets or sets the value of GeneratesDoubleDerived domain property. If True, will generate both a base class with all functionality and a partial class to support customization through overrides. (Inherited from DomainClass.)
Public propertyHasCustomConstructorGets or sets the value of HasCustomConstructor domain property. If True, indicates that a custom constructor will be provided in the generated code. (Inherited from DomainClass.)
Public propertyHasDefaultConnectionPointsGets or sets the value of HasDefaultConnectionPoints domain property. If True, the shape will use top, bottom, left and right connection points in the generated designer. (Inherited from Shape.)
Public propertyHelpKeywordGets or sets the value of HelpKeyword domain property. Optional keyword used to index F1 help for this element. (Inherited from NamedDomainElement.)
Public propertyIdGets the ID of the element. (Inherited from ModelElement.)
Public propertyImageGets or sets the value of Image domain property. Path to the image file to be used for this image shape.
Public propertyInheritanceModifierGets or sets the value of InheritanceModifier domain property. Determines if the inheritance modifier of the .NET class generated from the domain class is none, abstract or sealed. (Inherited from DomainClass.)
Public propertyInitialHeightGets or sets the value of InitialHeight domain property. Initial height of this shape, in inches. (Inherited from Shape.)
Public propertyInitialWidthGets or sets the value of InitialWidth domain property. Initial width of this shape, in inches. (Inherited from Shape.)
Public propertyIsActiveGets the IsActive flag and verifies to see whether the element is active. (Inherited from ModelElement.)
Public propertyIsDeletedGets the IsDeleted flag and checks to see whether the element has been deleted from the model. (Inherited from ModelElement.)
Public propertyIsDeletingGets the IsDeleting flag and verifies whether the element is currently being deleted from the model. (Inherited from ModelElement.)
Public propertyIsDescriptionTrackingGets or sets the value of IsDescriptionTracking domain property. If True, the Description property tracks other data in the DSL definition. (Inherited from AttributedDomainElement.)
Public propertyIsDisplayNameTrackingGets or sets the value of IsDisplayNameTracking domain property. If True, the DisplayName property tracks other data in the DSL definition. (Inherited from NamedDomainElement.)
Public propertyIsFixedTooltipTextTrackingGets or sets the value of IsFixedTooltipTextTracking domain property. If True, the FixedTooltipText property tracks other data in the DSL definition. (Inherited from DiagramElement.)
Public propertyIsNamespaceTrackingGets or sets the value of IsNamespaceTracking domain property. If True, the Namespace property tracks other data in the DSL definition. (Inherited from DomainClass.)
Public propertyNameGets or sets the value of Name domain property. Name of this element. (Inherited from NamedDomainElement.)
Public propertyNamespaceGets or sets the value of Namespace domain property. Namespace affiliated with this domain class. (Inherited from DomainClass.)
Public propertyNotesGets or sets the value of Notes domain property. Informal notes associated with this element. (Inherited from DomainElement.)
Public propertyOutlineColorGets or sets the value of OutlineColor domain property. Outline color of this shape. (Inherited from Shape.)
Public propertyOutlineDashStyleGets or sets the value of OutlineDashStyle domain property. Outline dash style of this shape. (Inherited from Shape.)
Public propertyOutlineThicknessGets or sets the value of OutlineThickness domain property. Outline thickness of this shape. (Inherited from Shape.)
Public propertyPartitionGets or sets the Partition that contains the element. (Inherited from ModelElement.)
Public propertyPropertiesGets a list of Properties. (Inherited from DomainClass.)
Public propertyRolesPlayedGets a list of RolesPlayed. Roles played by the class. (Inherited from DomainClass.)
Public propertyStoreGets the Store that contains the element. (Inherited from ModelElement.)
Public propertySubClassesGets a list of SubClasses. Description for Microsoft.VisualStudio.Modeling.DslDefinition.ImageShapeHasBaseImageShape.BaseImageShape (Overrides DomainClass.SubClasses.)
Public propertyTextColorGets or sets the value of TextColor domain property. Color used for text decorators associated with this diagram element. (Inherited from DiagramElement.)
Public propertyTooltipTypeGets or sets the value of TooltipType domain property. If Fixed, the fixed tooltip text is used as the tooltip, if variable the tooltip is defined in custom code. (Inherited from DiagramElement.)
Top

  NameDescription
Public methodCopy()Creates a copy of the element in the model. (Inherited from ModelElement.)
Public methodCopy(IEnumerable<Guid>)Creates a copy of the element and its child links and elements. (Inherited from ModelElement.)
Public methodDelete()Deletes an element from the model. (Inherited from ModelElement.)
Public methodDelete(Guid[])Deletes an element from the model. (Inherited from ModelElement.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetDomainClassGets the most-derived domain class for this element. (Inherited from ModelElement.)
Public methodGetFullNameGets the fully qualified name for this class (Inherited from DomainClass.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetRelativeNameGets the name of the domain class relative to the current namespace. If the current namespace is the same as this.Namespace, then we return this.Name. If not, we return this.GetFullName() (Inherited from DomainClass.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsDerivedFromTest if this class is derived from the given class. (Inherited from DomainClass.)
Protected methodOnCopyCalled when this element has been created as a copy of another element. (Inherited from ModelElement.)
Protected methodOnDeletedCalled when this element has been deleted from the model. (Inherited from ModelElement.)
Protected methodOnDeletingCalled when this element is about to be deleted. (Inherited from ModelElement.)
Protected methodOnResurrectedCalled when this element has been added back to a model. (Inherited from ModelElement.)
Protected methodOnRolePlayerPositionChangedCalled when the position of a role has changed. (Inherited from ModelElement.)
Protected methodOnRolePlayerPositionChangingCalled when a role player position is about to change. (Inherited from ModelElement.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension MethodAddExtension(Guid)Overloaded. Extend this ModelElement with newly instantiated extension of the identified domain type. An InvalidOperationException will be thrown if the element already has an extension of that type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodAddExtension(Type)Overloaded. Extend this ModelElement with a newly instantiated extension of the specified type. An InvalidOperationException will be thrown if the element already has an extension of that type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodAddExtension(DomainClassInfo)Overloaded. Extend this ModelElement with a newly instantiated extension of the specified domain type. An InvalidOperationException will be thrown if the element already has an extension of that type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodAddExtension(ExtensionElement)Overloaded. Extend this ModelElement with a specific extension. An InvalidOperationException will be thrown if the element already has an extension of the same type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodAddExtension<T>()Overloaded. Extend this ModelElement with a newly instantiated extension of a particular type. An InvalidOperationException will be thrown if the element already has an extension of the same type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodCanDeleteDeletes the element from the model. (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodGetAllExtensionsReturn an enumerable that performs a breadth first traversal across the tree of extension elements embedded in this ModelElement. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetBaseElementReturns the root of the virtual MEL in which the specified ModelElement is participating. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetExtension(Guid)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetExtension(Type)Overloaded. Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If the element has no such extension then an InvalidOperationException will be raised. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetExtension(DomainClassInfo)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetExtension<T>()Overloaded. Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If the element has no such extension then an InvalidOperationException will be raised. (Defined by ModelElementExtensionMethods.)
Public Extension MethodGetLocksGet the lock flags for this element. This will include any locks enabled on the Partition containing the element. (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodIsExtendedBy(Guid)Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodIsExtendedBy(Type)Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodIsExtendedBy(DomainClassInfo)Overloaded. Query whether this ModelElement is currently extended by an ExtensionElement of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodIsLockedTest whether this element has any of a specified set of locks (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodRemoveExtension(Type)Overloaded. Remove any extension of this ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodRemoveExtension(Guid)Overloaded. Remove any extension of the specified ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodRemoveExtension(DomainClassInfo)Overloaded. Remove any extension of the specified ModelElement that is of a particular type. (Defined by ModelElementExtensionMethods.)
Public Extension MethodRemoveExtension(ExtensionElement)Overloaded. Remove a specified ExtensionElement from the extensions of this ModelElement. (Defined by ModelElementExtensionMethods.)
Public Extension MethodSetLocksSet the lock flags of this element (Defined by ImmutabilityExtensionMethods.)
Public Extension MethodTryGetExtension(Guid)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodTryGetExtension(Type)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodTryGetExtension(DomainClassInfo)Overloaded. (Defined by ModelElementExtensionMethods.)
Public Extension MethodTryGetExtension<T>()Overloaded. Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If this element has no such extension then the result will be null. (Defined by ModelElementExtensionMethods.)
Top

  NameDescription
Public fieldStatic memberDomainClassIdImageShape domain class Id.
Public fieldStatic memberImageDomainPropertyIdImage domain property Id.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: