Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / Control Class / FontAttributes Property


In This Topic
    FontAttributes Property
    In This Topic
    Gets or sets the FontAttributes that will be applied to the Control's textual Content
    Syntax
    'Declaration
     
    
    Public Property FontAttributes As FontAttributes
    'Usage
     
    
    Dim instance As Control
    Dim value As FontAttributes
     
    instance.FontAttributes = value
     
    value = instance.FontAttributes
    public FontAttributes FontAttributes {get; set;}
    Remarks

    Textual Content will inherit these attributes automatically if no default Style is set for said Content.

    The default is None, which doesn't add any FontAttributes (bold, italic) to the text. 

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also