Diagram.TextColor 属性

获取或设置 TextColor 字段的特性的值。 在关系图上呈现文本的颜色。

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

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Diagram/TextColor.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("b4d80b20-ca48-4012-a02a-b6f74cc966e5")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Diagram/TextColor.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Diagram/TextColor.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property TextColor As Color
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Diagram/TextColor.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("b4d80b20-ca48-4012-a02a-b6f74cc966e5")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Diagram/TextColor.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Diagram/TextColor.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public Color TextColor { get; set; }

属性值

类型:System.Drawing.Color

.NET Framework 安全性

请参见

参考

Diagram 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间