Defines the maximum number of days in a range (0 for no limit).
Get
| C# | int Days = object.MaxRangeDays; |
| VB.NET | Days = object.MaxRangeDays As Integer |
| C++ | long Days = object->MaxRangeDays; long Days = object->GetMaxRangeDays(); |
| C | HRESULT object->get_MaxRangeDays(long* Days); |
Put
| C# | int object.MaxRangeDays = Days; |
| VB.NET | object.MaxRangeDays = Days As Integer |
| C++ | long object->MaxRangeDays = Days; void object->PutMaxRangeDays(long Days); |
| C | HRESULT object->put_MaxRangeDays(long Days); |
object
Days
Defines the maximum number of days in a range (0 for no limit).
The MaxRangeDays property defines the maximum length of a range the user can select (range selection mode, see SftCalendar.SelectionMode and SftDate.SelectionMode). The default is 0, no limit. A range that would be longer ends at the maximum. A negative value causes an error. p The limit applies to the user's selection only, not to a range set using the SetRange method. p The setting applies to a month calendar control and to the dropdown calendar of a date field control.
See Also SftDateCalendar Object | Object Hierarchy | Ranges