Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / OverFont Property


In This Topic
    OverFont Property
    In This Topic
    Gets or sets the Font of the SmartItem when the mouse passes over it.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The font of the SmartItem when the mouse passes over it.")>
    <CategoryAttribute("Appearance")>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(True)>
    <LocalizableAttribute(True)>
    Public Property OverFont As Font
    'Usage
     
    Dim instance As SmartItem
    Dim value As Font
     
    instance.OverFont = value
     
    value = instance.OverFont
    [Description("The font of the SmartItem when the mouse passes over it.")]
    [Category("Appearance")]
    [Browsable(true)]
    [MergableProperty(true)]
    [Localizable(true)]
    public Font OverFont {get; set;}

    Property Value

    A reference to a Font object representing the font to use when the mouse passes over the SmartItem. If the Font property has not been explicitly set then the SmartItem's Font will be used.
    Remarks

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

    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