Connector.ExposesColorAsProperty Property
Gets or sets the value of ExposesColorAsProperty domain property. If True, then a domain property has been added to the connector to allow the 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
'宣告
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("94ac77d3-7f6a-4cdf-9a79-c1a7fcfaf423")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
Public ReadOnly Property ExposesColorAsProperty As Boolean
Get
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("94ac77d3-7f6a-4cdf-9a79-c1a7fcfaf423")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
public bool ExposesColorAsProperty { get; }
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Category",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"94ac77d3-7f6a-4cdf-9a79-c1a7fcfaf423")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::Calculated)]
public:
property bool ExposesColorAsProperty {
bool get ();
}
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("94ac77d3-7f6a-4cdf-9a79-c1a7fcfaf423")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Connector/ExposesColorAsProperty.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)>]
member ExposesColorAsProperty : bool
function get ExposesColorAsProperty () : boolean
Property Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.