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
15
Xamarin Scheduler ColorScheme
posted

hen I have understood everything correctly, you cannot edit the given ColorScheme or edit your own ColorScheme.
That is not entirely understandable.
I have an extensive WinForms desktop application in which the user can manage his own appointment types in the calendar.
He can freely assign the colors to the different appointment types. The infragistics ultimate scheduler is used.
I can assign a color to the appointments.
Now I'm writing a mobile app for it. The calenders should also be synchronized here.
Now I am faced with the dilemma, that the appointments in the calendars in the Windows application are different colors than in the mobile app.
It's hard to digest.

Is it so difficult to make 2 colors accessible in the ColorScheme?
Example:
resources.Add (new ScheduleResource ("ID1", "Bob Smith") {ColorScheme = ScheduleResourceColorScheme.Chocolate});

public enum ScheduleResourceColorScheme: System.Enum
Chocolate Background: Argb (225, 121, 85, 72) Foreground: Argb (255, 68, 68, 68)

That can not be.

Is there any other way?

regards
Helmut

  • 15
    Offline posted
    Now I take a closer look at the given ColorSchemes and notice:
    
    Grape Background: Argb (225, 249, 98, 50) Foreground: Argb (255, 68, 68, 68)
    Pumpkin Background: Argb (225, 249, 98, 50) Foreground: Argb (255, 68, 68, 68)
    are identical.
    What's the point?

    Members
    Member Description
    Chocolate Background: Argb(225, 121, 85, 72) Foreground: Argb(255, 68, 68, 68)
    Fuchsia Background: Argb(225, 220, 63, 118) Foreground: Argb(255, 68, 68, 68)
    Grape Background: Argb(225, 249, 98, 50) Foreground: Argb(255, 68, 68, 68)
    Indigo Background: Argb(225, 63, 81, 181) Foreground: Argb(255, 68, 68, 68)
    Leafy Background: Argb(225, 67, 156, 71) Foreground: Argb(255, 68, 68, 68)
    Lime Background: Argb(225, 159, 179, 40) Foreground: Argb(255, 68, 68, 68)
    Pumpkin Background: Argb(225, 249, 98, 50) Foreground: Argb(255, 68, 68, 68)
    Skye Background: Argb(225, 43, 138, 234) Foreground: Argb(255, 68, 68, 68)
    Strawberry Background: Argb(225, 235, 71, 63) Foreground: Argb(255, 68, 68, 68)
    Sunflower Background: Argb(225, 255, 152, 0) Foreground: Argb(255, 68, 68, 68)
    Teal Background: Argb(225, 46, 156, 166) Foreground: Argb(255, 68, 68, 68)

    Is this still a construction site and the scheduler not yet finished? That would be an explanation. regards Helmut