CommentShapeTypeDescriptor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specialized type descriptor for the CommentShape class.
public ref class CommentShapeTypeDescriptor : Microsoft::VisualStudio::Modeling::Diagrams::PresentationElementTypeDescriptor
public class CommentShapeTypeDescriptor : Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor
type CommentShapeTypeDescriptor = class
inherit PresentationElementTypeDescriptor
Public Class CommentShapeTypeDescriptor
Inherits PresentationElementTypeDescriptor
- Inheritance
-
CommentShapeTypeDescriptor
Constructors
CommentShapeTypeDescriptor(ICustomTypeDescriptor, CommentShape) | |
CommentShapeTypeDescriptor(ICustomTypeDescriptor, PresentationElement, ModelElement) |
Obsolete.
Creates a new CommentShapeTypeDescriptor. |
Properties
ComponentType |
Returns the component type of the selected model element. (Inherited from ElementTypeDescriptor) |
ModelElement |
Returns the model element wrapped by this descriptor (Inherited from ElementTypeDescriptor) |
PresentationElement |
Returns the presentation model element described by this descriptor (Inherited from PresentationElementTypeDescriptor) |
RepresentedModelElement |
Returns the model element represented by the presentation element being described. (Inherited from PresentationElementTypeDescriptor) |
Store |
Store to use to retrieve DomainInfo from. If we are describing a Type, this is a dummy store used for reflection only. (Inherited from ElementTypeDescriptor) |
Methods
CollectionRolePropertiesBrowsable(ModelElement) |
For all the relationships this model element participate, return whether any PropertyDescriptor for Collection properties based on roles is Browsable (Inherited from ElementTypeDescriptor) |
CreateCollectionPropertyDescriptor(ModelElement, DomainRoleInfo, Attribute[]) | (Inherited from ElementTypeDescriptor) |
CreatePropertyDescriptor(ModelElement, DomainPropertyInfo, Attribute[]) |
Method to create a PropertyDescriptor which describes the property to be displayed in the grid. (Inherited from ElementTypeDescriptor) |
CreateRolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo, Attribute[]) |
Method to create a PropertyDescriptor which describes a relationship and role to be displayed in the grid. (Inherited from ElementTypeDescriptor) |
GetCategory(ElementPropertyDescriptor) |
Returns localized Category for Domain Property (Inherited from ElementTypeDescriptor) |
GetClassName() |
Gets the class name displayed in the property grid. (Inherited from PresentationElementTypeDescriptor) |
GetComponentName() |
Gets the component name displayed in the property grid. (Inherited from PresentationElementTypeDescriptor) |
GetDescription(ElementPropertyDescriptor) |
Description associated with the given property descriptor. |
GetDisplayProperties(ModelElement, PropertyDescriptor) |
Returns a list of property descriptors corresponding to each domain property (Inherited from ElementTypeDescriptor) |
GetDisplayProperties(ModelElement, Store, PropertyDescriptor) |
Returns a list of property descriptors corresponding to each domain property (Inherited from ElementTypeDescriptor) |
GetDomainClassInfo(ModelElement) |
Return the domain class info for the type of element being described. (Inherited from ElementTypeDescriptor) |
GetDomainPropertyAttributes(DomainPropertyInfo) |
Gets an array of custom attributes for the specified DomainProperty. (Inherited from ElementTypeDescriptor) |
GetExtensionProperties(ModelElement, Attribute[]) |
Returns the property descriptors for any extension elements (Inherited from ElementTypeDescriptor) |
GetProperties() |
Returns the properties for this instance of a component. (Inherited from ElementTypeDescriptor) |
GetProperties(Attribute[]) |
Returns the properties for this instance of a component using the attribute array as a filter. (Inherited from PresentationElementTypeDescriptor) |
GetPropertyDescriptorDisplayName(ElementPropertyDescriptor) |
Returns localized DisplayName for the passed in elementPropertyDescriptor (Inherited from ElementTypeDescriptor) |
GetRolePlayerPropertyAttributes(DomainRoleInfo) |
Gets an array of custom attributes for the specified DomainRole. (Inherited from ElementTypeDescriptor) |
IncludeCollectionRoleProperties(ModelElement) |
For all the relationships this model element participate, return whether to provide a PropertyDescriptor for Collection properties based on roles. (Inherited from ElementTypeDescriptor) |
IncludeEmbeddingRelationshipProperties(ModelElement) |
For all the relationships this model element participate, return whether to display DomainProperty defined on the DomainRelationship if this is an embedded model element. (Inherited from ElementTypeDescriptor) |
IncludeOppositeRolePlayerProperties(ModelElement) |
For all the relationships this model element participate, return whether to display the opposite role player's ElementName property if there's one (Inherited from PresentationElementTypeDescriptor) |
IsPropertyDescriptorReadOnly(ElementPropertyDescriptor) |
Returns whether this element property descriptor is read only or not. (Inherited from ElementTypeDescriptor) |
ShouldCreateCollectionPropertyDescriptor(ModelElement, DomainRoleInfo) |
For the relationship and the instance level role players involved, return whether to create a property descriptor for the collections (Inherited from ElementTypeDescriptor) |
ShouldCreatePropertyDescriptor(ModelElement, DomainPropertyInfo) |
For a given domain property defined in the requestor model element, ShouldCreatePropertyDescriptor determines whether we should create a property descriptor or not. Note that the selectedElement provides the context where the intended property dsscriptor will be created from. (Inherited from ElementTypeDescriptor) |
ShouldCreateRolePlayerPropertyDescriptor(ModelElement, DomainRoleInfo) |
For the relationship and the instance level role players involved, return whether to create a property descriptor for the opposite role player (Inherited from ElementTypeDescriptor) |