Custom Alarm Form for Reminder

4 posts, 0 answers
  1. Alex
    Alex avatar
    54 posts
    Member since:
    Feb 2009

    Posted 27 Oct 2010 Link to this post

    I am using Custom Alarm Form for Reminder based on your Examples code.

    I would like to change the back color of each item in RadListBox, at creation, depending on some scheduled item properties.

    How do I go about it?

    If it is not possible to do it with RadListBox, how would I go about using some other control, bind it to the reminder and achieve different back colors?

    Thanks,
      Aleksandar
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 01 Nov 2010 Link to this post

    Hi Alex,

    Thank you for writing.

    You can set the color of the item in RadListBox as shown below:
    RadListBoxItem item = this.radListBox1.Items[0] as RadListBoxItem;
    item.ItemFill.BackColor = Color.Red;

    I hope this will help you.

    Greetings,
    Dobry Zranchev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alex
    Alex avatar
    54 posts
    Member since:
    Feb 2009

    Posted 18 Nov 2010 Link to this post

    What if I want to use a custom UserControl instead of RadListBox?

    I assume it would need to inherit some other class???

    How do I bind it to a reminder, like I do for the RadListBox.

    Thanks
  5. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 23 Nov 2010 Link to this post

    Hi Alex,

    Thank you for writing.

    I am not sure regarding the custom control scenario that you are describing. Please, sent us a sample project which describes it and we will try to find the best option.

    Regarding your other questions: You are able to add objects that implement IReminderObject interface to RadReminder control. For more information please check the following help article.

    I hope this helps.

    Best wishes,
    Dobry Zranchev
    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
Back to Top