CalendarCtrl Class Reference

Inheritance diagram for CalendarCtrl:

Control Window EvtHandler wxObject IDisposable

List of all members.

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"


Member Enumeration Documentation

anonymous enum

Enumerator:
wxCAL_SUNDAY_FIRST 
wxCAL_MONDAY_FIRST 
wxCAL_SHOW_HOLIDAYS 
wxCAL_NO_YEAR_CHANGE 
wxCAL_NO_MONTH_CHANGE 
wxCAL_SEQUENTIAL_MONTH_SELECTION 
wxCAL_SHOW_SURROUNDING_WEEKS 


Constructor & Destructor Documentation

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 
)


Member Function Documentation

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  ) 


Member Data Documentation

const string wxCalendarNameStr = "CalendarCtrl"


The documentation for this class was generated from the following file:
Generated on Sun Feb 1 21:30:22 2009 for wxD by  doxygen 1.5.4