[]
        
(Showing Draft Content)

C1.Win.Calendar.C1DateRangeEdit

C1DateRangeEdit Class

Displays and edits a date range. Provides a dropdown calendar for convenient selection and modification of start and end dates.

Implements
IDropDownOwner
ISupportUiaContainer
IUiaExpandCollapseProvider
IEmbeddedEditor
Namespace: C1.Win.Calendar
Assembly: C1.Win.Calendar.10.dll
Syntax
[ToolboxBitmap(typeof(C1DateRangeEdit), "C1DateRangeEdit.png")]
public class C1DateRangeEdit : C1DateEditBase, ISupportInitialize, IDropDownOwner, ISupportUiaContainer, IDropDownEditorBase, IDropDownControlBase, ITextBoxHolder, IUiaExpandCollapseProvider, IInputEditor, IEmbeddedEditor
<ToolboxBitmap(GetType(C1DateRangeEdit), "C1DateRangeEdit.png")>
Public Class C1DateRangeEdit
    Inherits C1DateEditBase
    Implements ISupportInitialize, IDropDownOwner, ISupportUiaContainer, IDropDownEditorBase, IDropDownControlBase, ITextBoxHolder, IUiaExpandCollapseProvider, IInputEditor, IEmbeddedEditor

Constructors

Name Description
C1DateRangeEdit()

Initializes a new instance of the C1DateRangeEdit class.

Properties

Name Description
Calendar

Gets or sets the settings of drop down calendar.

EmptyAsNull

Gets or sets a value indicating whether empty strings are interpreted as null values (DBNull).

FormatType

Gets or sets enumeration value determining the formatting method, including standard .NET format specifiers, custom and programmatic formatting.

MaxValue

Gets or sets the maximum selected date in a range selection.

MinValue

Gets or sets the minimum selected date in a range selection.

Styles

Gets or sets the C1DateRangeEdit styles.

Value

Gets or sets the current DataType representation of the visual information contained in the control.

Methods

Name Description
GetSelectedDateRange()

Gets the selected date range using the calendar system defined by the current culture.

OnDateRangeChanged(EventArgs)

Raises the DateRangeChanged event.

OnDateRangeSelected(EventArgs)

Raises the DateRangeSelected event.

OnUpDownButtonClick(UpDownButtonClickEventArgs)

Raises the UpDownButtonClick event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

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.

Events

Name Description
DateRangeChanged

Occurs when the date range is modified by a change to the MinValue or MaxValue property.

DateRangeSelected

Occurs when date range in drop-down calendar is selected.