[]
        
(Showing Draft Content)

C1.Win.InputPanel.InputDatePicker

InputDatePicker Class

Represents a date-picker element in a C1InputPanel control.

Namespace: C1.Win.InputPanel
Assembly: C1.Win.InputPanel.8.dll
Syntax
public class InputDatePicker : InputDropDown, IBindableComponent, IComponent, IDisposable, IInputXmlSerializable

Constructors

Name Description
InputDatePicker()

Initializes a new instance of InputDatePicker.

Properties

Name Description
BoundValue

Gets or sets the bound data value associated with this component.

ContextMenuStrip

Gets or sets the context menu strip associated with the text box.

CueBanner

Gets or sets the textual cue, or tip, that is displayed by InputDatePicker to prompt the user for information.

DateFormat

Gets the DateTimeFormatInfo that is used for data formatting.

DefaultElementWidth

Gets the default width of the InputDatePicker.

DefaultWidth

Gets the default width of the InputDatePicker.

Format

Gets or sets the custom date format string.

InitialSelection

Gets or sets a value determines the selection position when a control receives input focus.

NotSetVerticalAlign

Gets actual vertical alignment when the VerticalAlign property is equal to NotSet.

ReadOnly

Gets or sets a value indicating whether the contents of the component can be changed.

ShowToday

Gets or sets whether the today date is displayed at the bottom of the Calendar.

StandardFormat

Sets the standard date format.

Text

Gets or sets the text in the InputDatePicker.

TextAlign

Gets or sets how text is aligned in the InputDatePicker.

TextBox

Gets the TextBox control contained in this InputDatePicker.

Value

Gets or sets the date value assigned to the component.

ValueIsNull

Gets or sets whether the selected date is null.

Methods

Name Description
OnDateClick(EventArgs)

Raises the DateClick event.

OnFormatChanged(EventArgs)

Raises the FormatChanged event.

OnPrepareDateFormat(PrepareDateTimeFormatEventArgs)

Raises the PrepareDateFormat event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

ResetValue()
ShouldSerializeStandardFormat()
ShouldSerializeValue()

Events

Name Description
DateClick

Fires when a date is clicked in the drop-down calendar.

FormatChanged

Fires when the Format property changes.

PrepareDateFormat

Fires when the DateFormat property is recreated.

ValueChanged

Fires when the Value property changes.