TextDecorator.FontStyle 属性

获取或设置 FontStyle 字段的特性的值。 在修饰器显示文本的字体样式。

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

语法

声明
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("2950b219-86c5-4e70-858a-76c73119162a")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property FontStyle As FontStyle
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("2950b219-86c5-4e70-858a-76c73119162a")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public FontStyle FontStyle { get; set; }

属性值

类型:System.Drawing.FontStyle

.NET Framework 安全性

请参见

参考

TextDecorator 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间