Xceed Docking Windows for WinForms v2.3 Documentation
Xceed.DockingWindows Namespace / CaptionAppearance Class / Font Property


In This Topic
    Font Property
    In This Topic
    Gets or sets the font of the captions.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The font of the captions.")>
    <CategoryAttribute("Appearance")>
    Public Property Font As Font
    'Usage
     
    Dim instance As CaptionAppearance
    Dim value As Font
     
    instance.Font = value
     
    value = instance.Font
    [Description("The font of the captions.")]
    [Category("Appearance")]
    public Font Font {get; set;}

    Property Value

    A Font representing the font of the captions.
    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.

    To reset the value of the Font property to its default value, the ResetFont method must be called.

    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