TextDecorator.FontStyle Property
Gets or sets the value of FontStyle domain property. Font style for the text displayed in the decorator.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("2950b219-86c5-4e70-858a-76c73119162a")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property FontStyle As FontStyle
Get
Set
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("2950b219-86c5-4e70-858a-76c73119162a")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public FontStyle FontStyle { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Category",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"2950b219-86c5-4e70-858a-76c73119162a")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property FontStyle FontStyle {
FontStyle get ();
void set (FontStyle value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("2950b219-86c5-4e70-858a-76c73119162a")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.TextDecorator/FontStyle.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member FontStyle : FontStyle with get, set
function get FontStyle () : FontStyle
function set FontStyle (value : FontStyle)
Property Value
Type: System.Drawing.FontStyle
.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.