ColorPalette Class

Represents the settings used to paint MonthCalendar. Contains mechanism to inform the parent whenever the property of ColorSettings changes.

Definition

Namespace: BeeMobile.MonthCalendar
Assembly: BeeMobile.MonthCalendar.NET48 (in BeeMobile.MonthCalendar.NET48.dll) Version: 4.8.0.2
C#
public class ColorPalette : INotifyPropertyChanged
Inheritance
Object    ColorPalette
Implements
INotifyPropertyChanged

Constructors

ColorPalette Constructor that cerates ColorPalette object.

Properties

Appointments Gets or sets an object of ColorSettings which specifies how should a appointment in the currently selected month be painted.
CurrentMonthDay Gets or sets an object of ColorSettingsDay which specifies how should a day in the currently selected month be painted.
DaysBackground Gets or sets an object of ColorSettings which specifies how should the names of days of the currently selected month be painted.
GridColor Gets or sets the Color which is used to paint the grid lines of MonthCalendar.
HeaderBackground Gets an object of ColorSettingsHeader which specifies how should the header of MonthCalendar be painted.
HolidaysColors Gets or sets an object of ColorSettingsDay which specifies how should a holiday be painted.
OtherMonthsDay Gets or sets an object of ColorSettingsDay which specifies how should a day in an other than currently selected month be painted.
OtherMonthsHolidays Gets or sets an object of ColorSettingsDay which specifies how should a holiday in an other than currently selected month be painted.
SelectedDateColors Gets or sets an object of ColorSettingsDay which specifies how should the currently selected day be painted.
TodayColors Gets or sets an object of ColorSettingsDay which specifies how should the current day of the current month be painted.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnPropertyChanged Fires the PropertyChanged event.
ShouldSerializeAppointments Indicates whether the Appointments property should be persisted.
ShouldSerializeCurrentMonthDay Indicates whether the CurrentMonthDay property should be persisted.
ShouldSerializeDaysBackground Indicates whether the DaysBackground property should be persisted.
ShouldSerializeGridColor Indicates whether the GridColor property should be persisted.
ShouldSerializeHeaderBackground Indicates whether the HeaderBackground property should be persisted.
ShouldSerializeHolidaysColors Indicates whether the HolidaysColors property should be persisted.
ShouldSerializeOtherMonthsDay Indicates whether the OtherMonthsDay property should be persisted.
ShouldSerializeOtherMonthsHolidays Indicates whether the OtherMonthsHolidays property should be persisted.
ShouldSerializeSelectedDateColors Indicates whether the SelectedDateColors property should be persisted.
ShouldSerializeTodayColors Indicates whether the TodayColors property should be persisted.
ToString Returns a System.String that represents the current System.Object.
(Overrides ObjectToString)

Events

PropertyChanged Occurs whenever a value of any property of ColorSettings changes.

See Also