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


In This Topic
    FontSize Property
    In This Topic
    Gets or sets the font size that will determine the scale of the Control's textual Content
    Syntax
    'Declaration
     
    
    Public Property FontSize As Double
    'Usage
     
    
    Dim instance As Control
    Dim value As Double
     
    instance.FontSize = value
     
    value = instance.FontSize
    public double FontSize {get; set;}
    Remarks

    Textual Content will inherit this font size automatically if no default Style is set for said Content

    The default value is 14.

    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