Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
10
How do I get the gradient feature to work...
posted

I have successfully changed the color but have not been able to get the gradient to work on the "ActiveDay" on the "UltraMonthViewSingle" control.  

Is there a parent object that is overriding my code?  What am I missing?  I am executing my code on the Form_Load event.  Please see below:

=============================================================================

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Dim ultraLook As New UltraCalendarLook 

        ultraLook.ActiveDayAppearance.BackColor = Color.BlueViolet

        ultraLook.ActiveDayAppearance.BackColor2 = Color.BlueViolet

        ultraLook.ActiveDayAppearance.BackGradientStyle = Infragistics.Win.GradientStyle.Elliptical

''   uMonth is the "UltraMonthViewSingle" control on the form....

        uMonth.CalendarLook = ultraLook

End Sub

  • 10
    Suggested Answer
    posted

    I found it....  "BackColor2" property is used for the gradient shading.  All I had to do is delete the line that uses the "BackColor" property.