Class CalendarHeaderStyleInfo
Represents the class that defines the header style information for the SfCalendar control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.Input.Styles
Assembly: Syncfusion.SfInput.WinForms.dll
Syntax
public class CalendarHeaderStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
CalendarHeaderStyleInfo()
Initializes a new instance of the CalendarHeaderStyleInfo class.
Declaration
public CalendarHeaderStyleInfo()
CalendarHeaderStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the CalendarHeaderStyleInfo class and associates it with an existing StyleInfoStore.
Declaration
public CalendarHeaderStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
CalendarHeaderStyleInfo(StyleInfoSubObjectIdentity, CalendarHeaderStyleInfoStore)
Initializes a new instance of the CalendarHeaderStyleInfo class and associates it with an existing StyleInfoStore.
Declaration
public CalendarHeaderStyleInfo(StyleInfoSubObjectIdentity identity, CalendarHeaderStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
CalendarHeaderStyleInfoStore | store | A StyleInfoStore that holds data for this object. All changes in this style object will be saved in the StyleInfoStore object. |
Properties
BackColor
Gets or sets the background color of header in SfCalendar
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DayNamesBackColor
Gets or sets the value indicating DayNames Back color of SfCalendar
Declaration
public Color DayNamesBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DayNamesFont
Gets or sets the font used to draw the day names in SfCalendar
Declaration
public Font DayNamesFont { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
DayNamesForeColor
Gets or sets the foreground color of header in SfCalendar
Declaration
public Color DayNamesForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style value for the header of SfCalendar.
Declaration
public static CalendarHeaderStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
CalendarHeaderStyleInfo |
DownArrowImage
Gets or sets the image for DownArrow which used to navigate to next view in SfCalendar
Declaration
public Image DownArrowImage { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
Font
Gets or sets the font used to draw the day names in SfCalendar
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the foreground color of header in SfCalendar
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverForeColor
Gets or sets the foreground color of header in hover state.
Declaration
public Color HoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
NavigationButtonDisabledForeColor
Gets or sets the foreground color of Navigation button in disabled state in SfCalendar
Declaration
public Color NavigationButtonDisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
NavigationButtonForeColor
Gets or sets the foreground color of Navigation button in SfCalendar
Declaration
public Color NavigationButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
NavigationButtonHoverForeColor
Gets or sets the foreground color of Navigation button in hover state in SfCalendar
Declaration
public Color NavigationButtonHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
UpArrowImage
Gets or sets the image for UpArrow which used to navigate to previous view in SfCalendar
Declaration
public Image UpArrowImage { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
Methods
GetDefaultStyle()
Provide the default style of the Calendar Header.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Default style object. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Makes an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | A copy of the current object registered with the new owner style object. |