共用方式為


Shape.ExposesOutlineColorAsProperty Property

Gets or sets the value of ExposesOutlineColorAsProperty domain property. If True, a domain property has been added to the shape to allow the outline 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

'宣告
<DomainObjectIdAttribute("bd1d9a2f-2e32-45b8-8a02-4bc5850023c3")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public ReadOnly Property ExposesOutlineColorAsProperty As Boolean
    Get
[DomainObjectIdAttribute("bd1d9a2f-2e32-45b8-8a02-4bc5850023c3")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool ExposesOutlineColorAsProperty { get; }
[DomainObjectIdAttribute(L"bd1d9a2f-2e32-45b8-8a02-4bc5850023c3")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::Calculated)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property bool ExposesOutlineColorAsProperty {
    bool get ();
}
[<DomainObjectIdAttribute("bd1d9a2f-2e32-45b8-8a02-4bc5850023c3")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineColorAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member ExposesOutlineColorAsProperty : bool
function get ExposesOutlineColorAsProperty () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace