CompartmentTypeDescriptor.ShouldCreatePropertyDescriptor Method
Overriden to control appearance of TitleFillColor and CompartmentFillColor properties in the property grid.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Protected Overrides Function ShouldCreatePropertyDescriptor ( _
requestor As ModelElement, _
domainProperty As DomainPropertyInfo _
) As Boolean
protected override bool ShouldCreatePropertyDescriptor(
ModelElement requestor,
DomainPropertyInfo domainProperty
)
protected:
virtual bool ShouldCreatePropertyDescriptor(
ModelElement^ requestor,
DomainPropertyInfo^ domainProperty
) override
abstract ShouldCreatePropertyDescriptor :
requestor:ModelElement *
domainProperty:DomainPropertyInfo -> bool
override ShouldCreatePropertyDescriptor :
requestor:ModelElement *
domainProperty:DomainPropertyInfo -> bool
protected override function ShouldCreatePropertyDescriptor(
requestor : ModelElement,
domainProperty : DomainPropertyInfo
) : boolean
Parameters
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
- domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.