共用方式為


Shape.ExposesOutlineThicknessAsProperty Property

Gets or sets the value of ExposesOutlineThicknessAsProperty domain property. If True, a domain property has been added to the shape to allow the outline thickness 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/ExposesOutlineThicknessAsProperty.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("94a98188-7f4a-475c-aefc-2c999b20c65f")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public ReadOnly Property ExposesOutlineThicknessAsProperty As Boolean
    Get
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("94a98188-7f4a-475c-aefc-2c999b20c65f")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool ExposesOutlineThicknessAsProperty { get; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"94a98188-7f4a-475c-aefc-2c999b20c65f")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::Calculated)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property bool ExposesOutlineThicknessAsProperty {
    bool get ();
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("94a98188-7f4a-475c-aefc-2c999b20c65f")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesOutlineThicknessAsProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member ExposesOutlineThicknessAsProperty : bool
function get ExposesOutlineThicknessAsProperty () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace