TreeView for WinForms | ComponentOne
C1.Win.SuperTooltip Namespace / C1SuperTooltipBase Class / BackgroundGradient Property

In This Topic
    BackgroundGradient Property (C1SuperTooltipBase)
    In This Topic
    Gets or sets the background gradient for the tooltips.
    Syntax
    'Declaration
     
    
    <C1DescriptionAttribute("ST.BackgroundGradient", "Gets or sets the background gradient for the tooltips.")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <C1CategoryAttribute("Appearance")>
    Public Property BackgroundGradient As BackgroundGradient
    [C1Description("ST.BackgroundGradient", "Gets or sets the background gradient for the tooltips.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [C1Category("Appearance")]
    public BackgroundGradient BackgroundGradient {get; set;}
    Remarks

    When the BackgroundGradient is set to a value other than none, the gradient is used instead of the image specified by the BackgroundImage property.

    If you want to use a gradient different from the built-in ones, create an image and assign it to the BackgroundImage property.

    See Also