[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.HeaderInfo

HeaderInfo Class

Represents a HeaderInfo contains the information for header button presentation in GrapeCity.Windows.InputMan.GcDropDownCalendar.

Inheritance
HeaderInfo
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class HeaderInfo
Public Class HeaderInfo
Remarks

The GrapeCity.Windows.InputMan.GcDropDownCalendar displays a range of date such as a month, a year or a decade. The HeaderInfo contains the information for the current displayed range. It also is presented in the header button content in the default template of GrapeCity.Windows.InputMan.GcDropDownCalendar. The HeaderInfo contains the following information:

HeaderInfo PropertyDescription
StartDateThe first date of the date range which the HeaderInfo represents.
EndDateThe last date of the date range which the HeaderInfo represents.
TextThe formatted string value that the HeaderInfo should be presented according to the GrapeCity.Windows.InputMan.GcDropDownCalendar.YearMonthFormat or GrapeCity.Windows.InputMan.GcDropDownCalendar.YearFormat.

Properties

Name Description
EndDate

Gets the last date of the date range which the HeaderInfo represents.

StartDate

Gets the first date of the date range which the HeaderInfo represents.

Text

Gets the formatted string value that the HeaderInfo should be presented according to the GrapeCity.Windows.InputMan.GcDropDownCalendar.YearMonthFormat or GrapeCity.Windows.InputMan.GcDropDownCalendar.YearFormat.