[]
        
(Showing Draft Content)

C1.Win.Calendar.PredefinedRange

PredefinedRange Class

Represents a custom date range that appears in the list of user-defined date ranges in the drop-down calendar.

Inheritance
PredefinedRange
Namespace: C1.Win.Calendar
Assembly: C1.Win.Calendar.4.8.dll
Syntax
public class PredefinedRange
Public Class PredefinedRange

Constructors

Name Description
PredefinedRange()

Initializes a new instance of the PredefinedRange class.

PredefinedRange(DateTime, DateTime, string)

Initializes a new instance of the PredefinedRange class.

Properties

Name Description
MaxValue

Gets or sets the maximum date in this predefined range.

MinValue

Gets or sets the minimum date in this predefined range.

Name

Gets or sets the name that appears in the list of user-defined date ranges in the drop-down calendar.

Methods

Name Description
ResetMaxValue()

Restores the default value of the MaxValue property.

ResetMinValue()

Restores the default value of the MinValue property.

ShouldSerializeMaxValue()

Specifies whether to save the value of the MaxValue property.

ShouldSerializeMinValue()

Specifies whether to save the value of the MinValue property.