Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

CompartmentTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace