NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MonthCalendar.TodayDate

The date shown as "Today" in the Month Calendar control. By default value, "today" is the current date (and is automatically updated when the clock crosses over to the next day- that is, TodayDateSet returns true). If you set the today date yourself (using the TodayDate property) the control will no longer automatically update the current day for you. To re-enable this behavior, ResetTodayDate() is used. If TodayDateSet is true, the value of TodayDate will always be the current date.

[Visual Basic]
Public Property TodayDate As DateTime
[C#]
public DateTime TodayDate {get; set;}
[C++]
public: __property DateTime get_TodayDate();
public: __property void set_TodayDate(DateTime);
[JScript]
public function get TodayDate() : DateTime;
public function set TodayDate(DateTime);

See Also

MonthCalendar Class | MonthCalendar Members | System.WinForms Namespace | ResetTodayDate | TodayDateSet