DiagramElement.ExposesTextColor 属性

获取或设置 ExposesTextColor 字段的特性的值。 如果为 true,则字段的特性。此时将生成的设计器的 " 属性 " 窗口添加到 connect 允许文本颜色显示。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/ExposesTextColor.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<DomainObjectIdAttribute("576d01a1-2fe8-40b5-bce6-823d55c0bbea")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/ExposesTextColor.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/ExposesTextColor.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public ReadOnly Property ExposesTextColor As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/ExposesTextColor.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[DomainObjectIdAttribute("576d01a1-2fe8-40b5-bce6-823d55c0bbea")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/ExposesTextColor.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/ExposesTextColor.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool ExposesTextColor { get; }

属性值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

DiagramElement 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间