Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / Font Property


In This Topic
    Font Property (SmartControl)
    In This Topic
    Gets or sets the Font of the SmartControl.
    Syntax
    'Declaration
     
    Public Overrides Property Font As Font
    'Usage
     
    Dim instance As SmartControl
    Dim value As Font
     
    instance.Font = value
     
    value = instance.Font
    public override Font Font {get; set;}

    Property Value

    A reference to a Font object representing the font to use.
    Remarks

    Because the Font object is immutable (meaning that you cannot adjust any of its properties), you can only assign the Font property a new Font object. However, you can base the new font on the existing font.

    If the Font property has not been explicitly set or is set to a null reference (Nothing in Visual Basic), then its value is inherited from its parent.

    Requirements

    Target Platforms: 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