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
1235
Appointment BarColor equivalent
posted

Hi,
in yours WinForms Scheduling components the Appointment Class has a very useful BarColor property. I couldn't find a corresponding property in you WPF Appointment Class.

Is there a way to get the corresponding functionality, so that I can color the border of the appointment to my own desire?

If yes can someone show how?

Thanks,
Roberto 

Parents
  • 1235
    posted

    Being able to assing a color to an appointment is a major necessity and, in fact, it is an important feature in your own schedule compontes for winforms.
    I guess that a bindable ActivityColor property in the Activity Class would do it. Having that property would allow the user to re-template this way the control templates contained in the file generic.shared.xaml

     

     <ControlTemplate x:Key="ActivityTemplate"  TargetType="igSchedulePrim:ActivityPresenter">

            <Border BorderThickness="3" BorderBrush="{Binding ActivityColor}">

            <Grid>

               [...]

            </Grid>

            </Border>

        </ControlTemplate>

    Best Regards 

Reply Children