[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonDatePicker

RibbonDatePicker Class

Represents a date-picker element in C1Ribbon and C1StatusBar controls.

Implements
ISupportUiaContainer
IUiaExpandCollapseProvider
IUiaValueProvider
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class RibbonDatePicker : RibbonDropDownBase, IComponent, IDisposable, ISupportUiaContainer, IUiaExpandCollapseProvider, IUiaValueProvider

Constructors

Name Description
RibbonDatePicker()

Creates a new instance of RibbonDatePicker.

Properties

Name Description
CanBeAddedToQat

Gets or sets whether the user can add this RibbonItem to the Quick Access Toolbar at runtime.

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 RibbonDatePicker to prompt the user for information.

DateFormat

Gets the DateTimeFormatInfo that is used for data formatting.

DropDownAlign

Gets or sets the alignment of the drop-down portion relative to this component.

Format

Gets or sets the custom date format string.

GapBeforeTextArea

Gets or sets the gap between the label and text area when this RibbonDatePicker appears on a RibbonGroup.

KeyTip

Gets or sets the KeyTip providing keyboard access to a RibbonDatePicker.

Label

Gets or sets the label used to identify this RibbonDatePicker.

LabelWidth

Gets or sets the width of the text label. Set to -1 to let the label calculate width automatically.

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 associated with the component.

TextAlign

Gets or sets how text is aligned in the RibbonDatePicker.

TextAreaWidth

Gets or sets the width of RibbonDatePicker's text area.

TextBox

Gets the TextBox control contained in this RibbonDatePicker.

Value

Gets or sets the date value assigned to the component.

ValueIsNull

Gets or sets whether the selected date is null.

Methods

Name Description
OnChangeCanceled(EventArgs)

Raises the ChangeCanceled event.

OnChangeCommitted(EventArgs)

Raises the ChangeCommitted event.

OnFormatChanged(EventArgs)

Raises the FormatChanged event.

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnKeyPress(KeyPressEventArgs)

Raises the KeyPress event.

OnKeyUp(KeyEventArgs)

Raises the KeyUp event.

OnLostFocus(EventArgs)

Raises the LostFocus event.

OnPrepareDateFormat(PrepareDateTimeFormatEventArgs)

Raises the PrepareDateFormat event.

OnTextChanged(EventArgs)

Raises the TextChanged event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

ResetValue()
ShouldSerializeItems()

This member is for internal use only.

ShouldSerializeStandardFormat()
ShouldSerializeValue()

Events

Name Description
ChangeCanceled

Occurs when the user cancels changes to the RibbonDatePicker.

ChangeCommitted

Occurs when the user commits changes to the RibbonDatePicker.

FormatChanged

Fires when the Format property changes.

GotFocus

Occurs when the RibbonDatePicker receives focus.

KeyDown

Occurs when a key is first pressed.

KeyPress

Occurs when the user presses and releases a key.

KeyUp

Occurs when a key is released.

LostFocus

Occurs when the RibbonDatePicker loses focus.

PrepareDateFormat

Fires when the DateFormat property is recreated.

TextChanged

Event raised when the text is changed.

ValueChanged

Fires when the Value property changes.