共用方式為


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

Syntax

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

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace