Public Types | |
enum | { wxCAL_SUNDAY_FIRST = 0x0000, wxCAL_MONDAY_FIRST = 0x0001, wxCAL_SHOW_HOLIDAYS = 0x0002, wxCAL_NO_YEAR_CHANGE = 0x0004, wxCAL_NO_MONTH_CHANGE = 0x000c, wxCAL_SEQUENTIAL_MONTH_SELECTION = 0x0010, wxCAL_SHOW_SURROUNDING_WEEKS = 0x0020 } |
Public Member Functions | |
this (IntPtr wxobj) | |
this () | |
this (Window parent, int id, wxDateTime date=null, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, string name=wxCalendarNameStr) | |
this (Window parent, DateTime date=null, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, string name=wxCalendarNameStr) | |
bool | Create (Window parent, int id, wxDateTime date, inout Point pos, inout Size size, int style, string name) |
void | Date (DateTime value) |
DateTime | Date () |
void | LowerDateLimit (DateTime value) |
DateTime | LowerDateLimit () |
void | UpperDateLimit (DateTime value) |
DateTime | UpperDateLimit () |
bool | SetDateRange (DateTime lowerdate, DateTime upperdate) |
void | EnableYearChange (bool value) |
void | EnableMonthChange (bool value) |
void | EnableHolidayDisplay (bool value) |
void | SetHeaderColours (Colour colFg, Colour colBg) |
Colour | HeaderColourFg () |
Colour | HeaderColourBg () |
void | SetHighlightColours (Colour colFg, Colour colBg) |
Colour | HighlightColourFg () |
Colour | HighlightColourBg () |
void | SetHolidayColours (Colour colFg, Colour colBg) |
Colour | HolidayColourFg () |
Colour | HolidayColourBg () |
CalendarDateAttr | GetAttr (int day) |
void | SetAttr (int day, CalendarDateAttr attr) |
void | SetHoliday (int day) |
void | ResetAttr (int day) |
CalendarHitTestResult | HitTest (Point pos, inout DateTime date, inout DayOfWeek wd) |
void | SelectionChange_Add (EventListener value) |
void | SelectionChange_Remove (EventListener value) |
void | DayChange_Add (EventListener value) |
void | DayChange_Remove (EventListener value) |
void | MonthChange_Add (EventListener value) |
void | MonthChange_Remove (EventListener value) |
void | YearChange_Add (EventListener value) |
void | YearChange_Remove (EventListener value) |
void | DoubleClick_Add (EventListener value) |
void | DoubleClick_Remove (EventListener value) |
void | WeekdayClick_Add (EventListener value) |
void | WeekdayClick_Remove (EventListener value) |
Public Attributes | |
const string | wxCalendarNameStr = "CalendarCtrl" |
anonymous enum |
this | ( | IntPtr | wxobj | ) |
Reimplemented from Control.
this | ( | ) |
this | ( | Window | parent, | |
int | id, | |||
wxDateTime | date = null , |
|||
Point | pos = wxDefaultPosition , |
|||
Size | size = wxDefaultSize , |
|||
int | style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS , |
|||
string | name = wxCalendarNameStr | |||
) |
this | ( | Window | parent, | |
DateTime | date = null , |
|||
Point | pos = wxDefaultPosition , |
|||
Size | size = wxDefaultSize , |
|||
int | style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS , |
|||
string | name = wxCalendarNameStr | |||
) |
bool Create | ( | Window | parent, | |
int | id, | |||
wxDateTime | date, | |||
inout Point | pos, | |||
inout Size | size, | |||
int | style, | |||
string | name | |||
) |
void Date | ( | DateTime | value | ) |
DateTime Date | ( | ) |
void LowerDateLimit | ( | DateTime | value | ) |
DateTime LowerDateLimit | ( | ) |
void UpperDateLimit | ( | DateTime | value | ) |
DateTime UpperDateLimit | ( | ) |
bool SetDateRange | ( | DateTime | lowerdate, | |
DateTime | upperdate | |||
) |
void EnableYearChange | ( | bool | value | ) |
void EnableMonthChange | ( | bool | value | ) |
void EnableHolidayDisplay | ( | bool | value | ) |
Colour HeaderColourFg | ( | ) |
Colour HeaderColourBg | ( | ) |
Colour HighlightColourFg | ( | ) |
Colour HighlightColourBg | ( | ) |
Colour HolidayColourFg | ( | ) |
Colour HolidayColourBg | ( | ) |
CalendarDateAttr GetAttr | ( | int | day | ) |
void SetAttr | ( | int | day, | |
CalendarDateAttr | attr | |||
) |
void SetHoliday | ( | int | day | ) |
void ResetAttr | ( | int | day | ) |
CalendarHitTestResult HitTest | ( | Point | pos, | |
inout DateTime | date, | |||
inout DayOfWeek | wd | |||
) |
void SelectionChange_Add | ( | EventListener | value | ) |
void SelectionChange_Remove | ( | EventListener | value | ) |
void DayChange_Add | ( | EventListener | value | ) |
void DayChange_Remove | ( | EventListener | value | ) |
void MonthChange_Add | ( | EventListener | value | ) |
void MonthChange_Remove | ( | EventListener | value | ) |
void YearChange_Add | ( | EventListener | value | ) |
void YearChange_Remove | ( | EventListener | value | ) |
void DoubleClick_Add | ( | EventListener | value | ) |
void DoubleClick_Remove | ( | EventListener | value | ) |
void WeekdayClick_Add | ( | EventListener | value | ) |
void WeekdayClick_Remove | ( | EventListener | value | ) |
const string wxCalendarNameStr = "CalendarCtrl" |