Skip to main content
All docs
V24.2

CalendarAppearances Members

Contains appearance settings for the calendar visual elements in different states.

Constructors

Name Description
CalendarAppearances(ICalendarAppearancesOwner) Initializes a new instance of the CalendarAppearances class with specified settings.

Properties

Name Description
Button Specifies the Today, Clear, Ok, and Cancel button appearance settings in the normal state.
ButtonHighlighted Specifies the Today, Clear, Ok, and Cancel button appearance settings when the mouse pointer hovers over them.
ButtonPressed Specifies the Today, Clear, Ok, and Cancel button appearance settings when they are pressed.
CalendarHeader Specifies the appearance of month headers if the calendar displays multiple months.
DayCell Specifies the appearance of day cells in the normal state.
DayCellDisabled Specifies the appearance of day cells in the disabled state.
DayCellHighlighted Specifies the appearance of day cells when the mouse pointer hovers over them.
DayCellHoliday Specifies the appearance of holiday cells.
DayCellInactive Specifies the appearance of day cells that do not belong to the current month.
DayCellPressed Specifies the appearance of day cells in the pressed state.
DayCellSelected Specifies the appearance of selected day cells.
DayCellSpecial Specifies the appearance of “special” day cells in the normal state.
DayCellSpecialDisabled Specifies the appearance of “special” day cells in the disabled state.
DayCellSpecialHighlighted Specifies the appearance of “special” day cells when the mouse pointer hovers over them.
DayCellSpecialInactive Specifies the appearance of “special” day cells that do not belong to the current month.
DayCellSpecialPressed Specifies the appearance of “special” day cells in the pressed state.
DayCellSpecialSelected Specifies the appearance of selected “special” day cells.
DayCellToday Specifies the “today” cell’s appearance settings.
Header Specifies the header appearance settings in the normal state. Use ShowHeader to specify the header visibility.
HeaderHighlighted Specifies the header appearance settings when the mouse pointer hovers over it. These settings do not combine with settings in the normal state.
HeaderPressed Specifies the header appearance settings when it is pressed. These settings do not combine with settings in the normal state.
IsDisposed Gets whether the current object has been disposed of. Inherited from BaseAppearanceCollection.
IsLoading Gets whether the owner control is being initialized.
Owner Gets the owner control.
WeekDay Specifies the week day abbreviation appearance settings.
WeekNumber Specifies the week number appearance settings.

Methods

Name Description
Assign(BaseAppearanceCollection) Copies the settings from the object passed as the parameter. Inherited from BaseAppearanceCollection.
AssignInternal(BaseAppearanceCollection) Copies the settings from the object passed as the parameter without raising the BaseAppearanceCollection.Changed event. Inherited from BaseAppearanceCollection.
BeginUpdate() Locks the BaseAppearanceCollection, preventing change notifications (and visual updates) from being raised by the object until the EndUpdate or CancelUpdate method is called. Inherited from BaseAppearanceCollection.
CancelUpdate() Unlocks the BaseAppearanceCollection object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseAppearanceCollection.
Combine(BaseAppearanceCollection, AppearanceDefaultInfo[], Boolean) Copies the activated appearance settings of the object passed as the parameter and activates their corresponding options, any properties not activated are set to the value in the default appearance object. Inherited from BaseAppearanceCollection.
Combine(BaseAppearanceCollection, AppearanceDefaultInfo[]) Copies the activated appearance settings of the object passed as the parameter to the current object, any properties that aren’t activated are set to the value in the default appearance object. Inherited from BaseAppearanceCollection.
Dispose() Releases all the resources used by the current object. Inherited from BaseAppearanceCollection.
EndUpdate() Unlocks the BaseAppearanceCollection object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseAppearanceCollection.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetAppearance(String) Gets an appearance object contained within the collection by its name. Inherited from BaseAppearanceCollection.
GetEnumerator() Returns an IDictionaryEnumerator that can iterate through the hashtable. Inherited from BaseAppearanceCollection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets the properties of all the appearance objects within the collection to their default values. Inherited from BaseAppearanceCollection.
RestoreLayoutFromRegistry(String) Restores the appearance settings stored at the specified system registry path. Inherited from BaseAppearanceCollection.
RestoreLayoutFromStream(Stream) Restores the appearance settings from the specified stream. Inherited from BaseAppearanceCollection.
RestoreLayoutFromXml(String) Loads the appearance settings stored in the specified XML file. Inherited from BaseAppearanceCollection.
SaveLayoutToRegistry(String) Saves the appearance settings to a system registry path. Inherited from BaseAppearanceCollection.
SaveLayoutToStream(Stream) Saves the appearance settings to a specific stream. Inherited from BaseAppearanceCollection.
SaveLayoutToXml(String) Saves the appearance settings to a specific XML file. Inherited from BaseAppearanceCollection.
ShouldSerialize() Tests whether the BaseAppearanceCollection should be persisted. Inherited from BaseAppearanceCollection.
ToString() Returns a string that represents the current object. Inherited from Object.
UpdateRightToLeft(Boolean) Updates the right-to-left text direction option. Inherited from BaseAppearanceCollection.

Events

Name Description
Changed Fires when the collection is changed. Inherited from BaseAppearanceCollection.
PaintChanged Occurs when specific settings that control the text appearance are changed. Inherited from BaseAppearanceCollection.
SizeChanged Occurs when specific settings that control text size are changed. Inherited from BaseAppearanceCollection.
See Also