How to set custom color of the availability in C1Schedule

Posted by: C_S.Kalaivanan on 22 February 2019, 3:08 am EST

    • Post Options:
    • Link

    Posted 22 February 2019, 3:08 am EST

    Hi,

    I have gone through this link - https://help.grapecity.com/componentone/NetHelp/c1schedule/webframe.html#availability.html. I understood that we can set predefined colors to the bar of appointment. But I want to set the other custom color of the Availability/bar. Please guide me to achieve this.

    Thanks

    Kalaivanan

  • Posted 25 February 2019, 7:28 am EST

    Hi,

    C1Scheduler allows customization of appointments to great extent, that is you can change their color, label, assign custom availability colors etc.

    For changing the availability colors to your choice, you may create an instance of Status class, set its Color and assign it to the BusyStatus property of your appointment.```

    Status stats1 = new Status();

    stats1.Color = Color.Black;

    app.BusyStatus = stats1;

    Also, attached is a demo sample for your reference.
    
    Thanks,
    Ruchir[zip filename="CustomAvailability_C1Scheduler.zip"]https://gccontent.blob.core.windows.net/forum-uploads/file-0962704b-987c-4db7-a985-a0e030f8f648.zip[/zip]
  • Posted 25 February 2019, 8:46 am EST

    Thanks for the reply, its working for me.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels