Condividi tramite


Shape.ExposesFillColorAsProperty Property

Gets 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.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<DomainObjectIdAttribute("378ffbab-9747-4e35-8a34-5ece393d5c89")> _
Public ReadOnly Property ExposesFillColorAsProperty As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[DomainObjectIdAttribute("378ffbab-9747-4e35-8a34-5ece393d5c89")]
public bool ExposesFillColorAsProperty { get; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::Calculated)]
[DomainObjectIdAttribute(L"378ffbab-9747-4e35-8a34-5ece393d5c89")]
public:
property bool ExposesFillColorAsProperty {
    bool get ();
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillColorAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)>]
[<DomainObjectIdAttribute("378ffbab-9747-4e35-8a34-5ece393d5c89")>]
member ExposesFillColorAsProperty : bool with get
function get ExposesFillColorAsProperty () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace