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.GetDisplayRange

Retrieves date information that represents the low and high limits of the control's display.

[Visual Basic]
Public Function GetDisplayRange( _
   ByVal visible As Boolean _
) As SelectionRange
[C#]
public SelectionRange GetDisplayRange(
   bool visible
);
[C++]
public: SelectionRange* GetDisplayRange(
   bool visible
);
[JScript]
public function GetDisplayRange(
   visible : Boolean
) : SelectionRange;

Parameters

visible
If true, then only the dates in those months that are entirely displayed will be returned. If false, then the partially displayed dates in the preceding and trailing months of the visible range will be included in the returned date range.

Return Value

the start and end dates of the display range.

See Also

MonthCalendar Class | MonthCalendar Members | System.WinForms Namespace