menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateTimePickerAdv - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DateTimePickerAdv

    The DateTimePickerAdv control extends the Windows Forms DateTimePicker control and provides several important features. Internationalization - The DateTimePickerAdv control is fully culture aware. Databinding - Supports DataBinding with a data source. Supports null value. Custom dropdown - The DateTimePickerAdv can display a custom drop down calendar. XP Themes - The DateTimePickerAdv control supports XP themes when applicable.

    Inheritance
    System.Object
    GradientPanel
    DateTimePickerAdv
    MyDateTimePicker
    DateTimePickerExt
    Implements
    IThemeProvider
    INonClientPaintingSupport
    System.ComponentModel.ISupportInitialize
    IThemedControl
    IVisualStyle
    Inherited Members
    GradientPanel.ApplyScaleToControl(Single)
    GradientPanel.BackgroundColor
    GradientPanel.BeginInit()
    GradientPanel.Border3DStyle
    GradientPanel.Border3DStyleChanged
    GradientPanel.BorderColorChanged
    GradientPanel.BorderSides
    GradientPanel.BorderSidesChanged
    GradientPanel.BorderSingle
    GradientPanel.BorderSingleChanged
    GradientPanel.BorderStyle
    GradientPanel.BorderStyleChanged
    GradientPanel.CanApplyTheme
    GradientPanel.CanOverrideStyle
    GradientPanel.ControlName
    GradientPanel.CreateAccessibilityInstance()
    GradientPanel.CreateParams
    GradientPanel.EnableTouchMode
    GradientPanel.EndInit()
    GradientPanel.GetActiveThemeName()
    GradientPanel.GradientBackground
    GradientPanel.GradientBackgroundChanged
    GradientPanel.GradientColors
    GradientPanel.GradientColorsChanged
    GradientPanel.GradientPanelThemeChanged
    GradientPanel.IgnoreThemeBackground
    GradientPanel.INonClientPaintingSupport.NonClientPaint(PaintEventArgs, Rectangle, Rectangle)
    GradientPanel.IsVisualStyleEnabled
    GradientPanel.IThemeProvider.BaseThemeName
    GradientPanel.OnBorder3DStyleChanged()
    GradientPanel.OnBorderSidesChanged()
    GradientPanel.OnBorderSingleChanged()
    GradientPanel.OnCanApplyThemeChanged(Boolean)
    GradientPanel.OnCanOverrideStyleChanged(Boolean)
    GradientPanel.OnFontChanged(EventArgs)
    GradientPanel.OnGradientBackgroundChanged()
    GradientPanel.OnGradientColorsChanged()
    GradientPanel.OnPaintBackground(PaintEventArgs)
    GradientPanel.OnScroll(ScrollEventArgs)
    GradientPanel.OnSizeChanged(EventArgs)
    GradientPanel.OnThemeNameChanged(String)
    GradientPanel.OnVerticalGradientChanged()
    GradientPanel.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    GradientPanel.RedrawBorders()
    GradientPanel.ScrollerFrame
    GradientPanel.ThemedBorder
    GradientPanel.ThemedPaintBackground(Graphics, Rectangle, Rectangle)
    GradientPanel.ThemeName
    GradientPanel.ThemeNameChanged
    GradientPanel.ThemesEnabled
    GradientPanel.ThemeStyle
    GradientPanel.UseCustomScrollerFrame
    GradientPanel.VerticalGradient
    GradientPanel.VerticalGradientChanged
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class DateTimePickerAdv : GradientPanel, IThemeProvider, INonClientPaintingSupport, ISupportInitialize, IThemedControl, IVisualStyle, ISupportCulture

    Constructors

    DateTimePickerAdv()

    Declaration
    public DateTimePickerAdv()

    Properties

    AutoForwarding

    Gets or sets a value indicating whether after the completion of a field the DateTimePicker advances to the next field.

    Declaration
    public bool AutoForwarding { get; set; }
    Property Value
    Type
    System.Boolean

    BackColor

    Gets are sets the Back color of the control. (overridden property)

    Declaration
    public override Color BackColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    BindableValue

    Gets or sets the wrapper property around the selected date of the picker. Use this property if you want to be able to set the value of the control to null.

    Declaration
    public object BindableValue { get; set; }
    Property Value
    Type
    System.Object

    BorderColor

    Overrides Border Color property

    Declaration
    public override Color BorderColor { get; set; }
    Property Value
    Type
    System.Drawing.Color
    Overrides
    GradientPanel.BorderColor

    Calendar

    Gets the popup calendar.

    Declaration
    public DateTimePickerAdv.MonthCalendarForDateTimePickerAdv Calendar { get; }
    Property Value
    Type
    DateTimePickerAdv.MonthCalendarForDateTimePickerAdv

    CalendarFont

    Gets or sets the font of the popup calendar.

    Declaration
    public Font CalendarFont { get; set; }
    Property Value
    Type
    System.Drawing.Font

    CalendarForeColor

    Gets or sets the forecolor of the popup calendar.

    Declaration
    public Color CalendarForeColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    CalendarMonthBackground

    Gets or sets the backcolor of the popup calendar.

    Declaration
    public Color CalendarMonthBackground { get; set; }
    Property Value
    Type
    System.Drawing.Color

    CalendarSize

    Gets or sets the size of the popup Calendar.

    Declaration
    public Size CalendarSize { get; set; }
    Property Value
    Type
    System.Drawing.Size

    CalendarSizeToFit

    Gets or sets a value indicating whether the calendar will size according to the widths of the days.

    Declaration
    public bool CalendarSizeToFit { get; set; }
    Property Value
    Type
    System.Boolean

    CalendarTitleBackColor

    Gets or sets the title backcolor of the popup calendar.

    Declaration
    public Color CalendarTitleBackColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    CalendarTitleForeColor

    Gets or sets the title forecolor of the popup calendar.

    Declaration
    public Color CalendarTitleForeColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    CalendarTrailingForeColor

    Gets or sets the trailing forecolor of the popup calendar.

    Declaration
    public Color CalendarTrailingForeColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    Checked

    Gets or sets a value indicating whether the checked state of the checkbox is set.

    Declaration
    public bool Checked { get; set; }
    Property Value
    Type
    System.Boolean

    ClipboardFormat

    Gets or sets the format of the value of the picker when copying.

    Declaration
    public DateTimePickerFormat ClipboardFormat { get; set; }
    Property Value
    Type
    System.Windows.Forms.DateTimePickerFormat

    CopyFieldsOnly

    Gets or sets a value indicating whether when copy or paste operation is done, only the selected field is taken into consideration.

    Declaration
    public bool CopyFieldsOnly { get; set; }
    Property Value
    Type
    System.Boolean

    Culture

    Gets or sets the current culture of the picker.

    Declaration
    public CultureInfo Culture { get; set; }
    Property Value
    Type
    System.Globalization.CultureInfo

    CurrentCalendar

    Gets currently used calendar.

    Declaration
    public Calendar CurrentCalendar { get; }
    Property Value
    Type
    System.Globalization.Calendar

    CustomDrop

    Gets or sets a value indicating whether the CustomPopupWindow will be shown instead of the internal calendar popup.

    Declaration
    public bool CustomDrop { get; set; }
    Property Value
    Type
    System.Boolean

    CustomFormat

    Gets or sets the format of the picker when Format is Custom.

    Declaration
    public string CustomFormat { get; set; }
    Property Value
    Type
    System.String

    CustomPopupWindow

    Gets or sets the PopupControlContainer that will be shown instead of the internal calendar. If the container contains controls implementing the IDateTimePickerAdvCalendar interface and the Active property set to true the picker will interact with those controls like the internal calendar.

    Declaration
    public PopupControlContainer CustomPopupWindow { get; set; }
    Property Value
    Type
    PopupControlContainer

    DigitYear

    Gets or sets the year that will complete the year fields when typing.

    Declaration
    public int DigitYear { get; set; }
    Property Value
    Type
    System.Int32

    DropDownAlign

    Gets or sets the popup window`s alignment.

    Declaration
    public LeftRightAlignment DropDownAlign { get; set; }
    Property Value
    Type
    System.Windows.Forms.LeftRightAlignment

    DropDownImage

    Gets or sets the image for DropDown button.

    Declaration
    public Image DropDownImage { get; set; }
    Property Value
    Type
    System.Drawing.Image

    DropDownNormalColor

    Gets or sets the drop down backcolor in normal mode. If color is empty then uses the default color.

    Declaration
    public Color DropDownNormalColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    DropDownPressedColor

    Gets or sets the drop down backcolor in pressed mode. If color is empty then uses the default color.

    Declaration
    public Color DropDownPressedColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    DropDownSelectedColor

    Gets or sets the drop down backcolor in selected mode. If color is empty then uses the default color.

    Declaration
    public Color DropDownSelectedColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    EnableNullDate

    Gets or sets a value indicating whether the null date support is enabled. If set to false the DateTimePicker will always have a selected date.

    Declaration
    public bool EnableNullDate { get; set; }
    Property Value
    Type
    System.Boolean

    EnableNullKeys

    Gets or sets a value indicating whether the Backspace or Delete keys make the date null.

    Declaration
    public bool EnableNullKeys { get; set; }
    Property Value
    Type
    System.Boolean

    FieldsArray

    Gets or sets the fields of the DateTimePickerAdv.

    Declaration
    protected DTField[] FieldsArray { get; set; }
    Property Value
    Type
    DTField[]

    FlatDropButton

    Gets or sets a value indicating whether the dropdown button will have a flat appearance.

    Declaration
    public bool FlatDropButton { get; set; }
    Property Value
    Type
    System.Boolean

    Font

    Overrides font property

    Declaration
    public override Font Font { get; set; }
    Property Value
    Type
    System.Drawing.Font

    Format

    Gets or sets the format of the picker.

    Declaration
    public DateTimePickerFormat Format { get; set; }
    Property Value
    Type
    System.Windows.Forms.DateTimePickerFormat

    InvalidDateProcessing

    Gets or sets value indicating what action should be chosen if user try to enter value that is not within the specified min or max range.

    Declaration
    public InvalidDateProcessing InvalidDateProcessing { get; set; }
    Property Value
    Type
    InvalidDateProcessing

    IsNullDate

    Gets or sets a value indicating whether there is no date selected.

    Declaration
    public bool IsNullDate { get; set; }
    Property Value
    Type
    System.Boolean

    MaxValue

    Gets or sets the maximum value that can be picked from the picker.

    Declaration
    public DateTime MaxValue { get; set; }
    Property Value
    Type
    System.DateTime

    MetroColor

    Gets or sets the theme color of the DateTimePickerAdv

    Declaration
    public Color MetroColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    MinValue

    Gets or sets the minimum value that can be picked from the picker.

    Declaration
    public DateTime MinValue { get; set; }
    Property Value
    Type
    System.DateTime

    MonthImageList

    Gets or sets the image list of the popup menu of the popup calendar.

    Declaration
    public ImageList MonthImageList { get; set; }
    Property Value
    Type
    System.Windows.Forms.ImageList

    NoneButtonVisible

    Gets or sets a value indicating whether the none date button visible.

    Declaration
    public bool NoneButtonVisible { get; set; }
    Property Value
    Type
    System.Boolean
    Remarks

    if EnableNullDate and EnableNullKeys are both set to false, NoneButton is hidden anyway.

    NullableValue

    Gets or sets the Nullable date of the Control

    Declaration
    public DateTime? NullableValue { get; set; }
    Property Value
    Type
    System.Nullable<System.DateTime>

    NullModeKeyReset

    Gets or sets the keys which will toggle off null date.

    Declaration
    public NullModeKeyReset NullModeKeyReset { get; set; }
    Property Value
    Type
    NullModeKeyReset

    NullString

    Gets or sets the text to be displayed, when no date is selected.

    Declaration
    public string NullString { get; set; }
    Property Value
    Type
    System.String

    Office2007Theme

    Gets or sets the Office2007 theme used for drawing the control.

    Declaration
    public Office2007Theme Office2007Theme { get; set; }
    Property Value
    Type
    Office2007Theme

    Office2010Theme

    Gets or sets the Office2010 theme used for drawing the control.

    Declaration
    public Office2010Theme Office2010Theme { get; set; }
    Property Value
    Type
    Office2010Theme

    PopupWindow

    Gets the Popup window calendar.

    Declaration
    public CalendarPopup PopupWindow { get; }
    Property Value
    Type
    CalendarPopup

    ReadOnly

    Gets or sets a value indicating whether toggles the read only state of the picker.

    Declaration
    public bool ReadOnly { get; set; }
    Property Value
    Type
    System.Boolean

    ReadOnlyValueChange

    Gets or sets a value indicating whether the valueChange when control is readonly.

    Declaration
    public bool ReadOnlyValueChange { get; set; }
    Property Value
    Type
    System.Boolean

    ResetSelectionOnFocus

    Gets or sets a value indicating whether selection should be reset to first field on focus.

    Declaration
    public bool ResetSelectionOnFocus { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if reset selection on focus; otherwise, false.

    SelectedField

    Gets or sets the selected field of the DateTimePickerAdv.

    Declaration
    protected DTField SelectedField { get; set; }
    Property Value
    Type
    DTField

    ShowCheckBox

    Gets or sets a value indicating whether the checkBox will be visible.

    Declaration
    public bool ShowCheckBox { get; set; }
    Property Value
    Type
    System.Boolean

    ShowDropButton

    Gets or sets a value indicating whether the drop button is visible.

    Declaration
    public bool ShowDropButton { get; set; }
    Property Value
    Type
    System.Boolean

    ShowDropDownOnNull

    Gets or sets a value indicating whether calendar drop down should be shown when pressing ALT + down arrow key when NULL date is set.

    Declaration
    public bool ShowDropDownOnNull { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if show drop down when null date is set; otherwise, false.

    ShowUpDown

    Gets or sets a value indicating whether the UpDown buttons are visible.

    Declaration
    public bool ShowUpDown { get; set; }
    Property Value
    Type
    System.Boolean

    ShowUpDownOnFocus

    Gets or sets a value indicating whether the UpDown buttons will be visible when it gets the focus.

    Declaration
    public bool ShowUpDownOnFocus { get; set; }
    Property Value
    Type
    System.Boolean

    Size

    Gets or sets the size of the DateTimePickerAdv control.

    Declaration
    public Size Size { get; set; }
    Property Value
    Type
    System.Drawing.Size

    Spacing

    Gets or sets the spacing between the fields of the picker.

    Declaration
    public int Spacing { get; set; }
    Property Value
    Type
    System.Int32

    StretchDropDownImage

    Gets or sets a value indicating whether the image for scroll button is stretched or shrunk to fit the size of the scroll button.

    Declaration
    public bool StretchDropDownImage { get; set; }
    Property Value
    Type
    System.Boolean

    Style

    Gets or sets the Office style of the Date Time Picker.

    Declaration
    public VisualStyle Style { get; set; }
    Property Value
    Type
    VisualStyle

    SuppressValueChangedOnNavigation

    Gets or sets a value to supress the Value of DateTimePicker on ValueChanged event

    Declaration
    public bool SuppressValueChangedOnNavigation { get; set; }
    Property Value
    Type
    System.Boolean

    TabForwarding

    Gets or sets a value indicating whether the DateTimePicker will advance to the next field.

    Declaration
    public bool TabForwarding { get; set; }
    Property Value
    Type
    System.Boolean

    TabLeave

    Gets or sets a value indicating whether the focus will be moved off the control when there are no fields to tab through.

    Declaration
    public bool TabLeave { get; set; }
    Property Value
    Type
    System.Boolean
    Remarks

    This is active only when the TabForwarding property is set to true.

    TabStop

    Declaration
    public bool TabStop { get; set; }
    Property Value
    Type
    System.Boolean

    ThemedChildControls

    Gets or sets a value indicating whether the checkbox, drop button, updown and calendar will be themed.

    Declaration
    public bool ThemedChildControls { get; set; }
    Property Value
    Type
    System.Boolean

    UseBorderStyle

    Gets or set the value to apply the border syle of the DateTimePickerAdv

    Declaration
    public bool UseBorderStyle { get; set; }
    Property Value
    Type
    System.Boolean

    UseCurrentCulture

    Gets or sets a value indicating whether the current culture of the machine will be used. The culture will be set to the System.Globalization.CultureInfo.CurrentCulture culture.

    Declaration
    public bool UseCurrentCulture { get; set; }
    Property Value
    Type
    System.Boolean

    UseEnhancedMenu

    Gets or sets a value indicating whether the context menu will be a Syncfusion XPMenu.

    Declaration
    public bool UseEnhancedMenu { get; set; }
    Property Value
    Type
    System.Boolean

    UseShortestDayNames

    Gets or sets a value indicating whether the shortest name of the weekdays should be used. This property value have influence only under Framework 2.0 and higher.

    Declaration
    public bool UseShortestDayNames { get; set; }
    Property Value
    Type
    System.Boolean

    Value

    Gets or sets the selected date of the picker.

    Declaration
    public DateTime Value { get; set; }
    Property Value
    Type
    System.DateTime

    VSLikeUpDown

    Gets or sets a value indicating whether the UpDown will have a VS like look.

    Declaration
    public bool VSLikeUpDown { get; set; }
    Property Value
    Type
    System.Boolean

    WeekOfYear

    Gets the one-based index of the week of year.

    Declaration
    public int WeekOfYear { get; }
    Property Value
    Type
    System.Int32

    Methods

    ArgToRadians(Int64)

    Declaration
    protected static double ArgToRadians(long arg)
    Parameters
    Type Name Description
    System.Int64 arg
    Returns
    Type
    System.Double

    Copy()

    Copies Value property to clipboard.

    Declaration
    public bool Copy()
    Returns
    Type Description
    System.Boolean

    True if value has been sucessfully copied.

    Cut()

    Cuts Value property to clipboard.

    Declaration
    public bool Cut()
    Returns
    Type Description
    System.Boolean

    True if value has been sucessfully cut.

    DisplayCalendar()

    Displays Calendar popup.

    Declaration
    public void DisplayCalendar()

    Dispose(Boolean)

    Cleans up any resources being used.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Bool disposing

    Overrides
    GradientPanel.Dispose(Boolean)

    Fields(Int32)

    Declaration
    protected DTField Fields(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type
    DTField

    GetControlName(String)

    Declaration
    public override string GetControlName(string controlName)
    Parameters
    Type Name Description
    System.String controlName
    Returns
    Type
    System.String
    Overrides
    GradientPanel.GetControlName(String)

    GetPreferredSize(Size)

    Declaration
    public override Size GetPreferredSize(Size proposedSize)
    Parameters
    Type Name Description
    System.Drawing.Size proposedSize
    Returns
    Type
    System.Drawing.Size

    InitDefaultPopup(CalendarPopup)

    Virtual function used to initialize the default popup window.

    Declaration
    protected virtual void InitDefaultPopup(CalendarPopup defaultPopup)
    Parameters
    Type Name Description
    CalendarPopup defaultPopup

    The default popup window PopupControlContainer.

    IsInputChar(Char)

    Declaration
    protected override bool IsInputChar(char charCode)
    Parameters
    Type Name Description
    System.Char charCode
    Returns
    Type
    System.Boolean

    JumpField()

    Override this method when you want to modify the default behavior of the DateTimePickerAdv that jumps to select the first field when the last is selected and the right arrow is pressed and vice versa.

    Declaration
    protected virtual bool JumpField()
    Returns
    Type Description
    System.Boolean

    A bool value that indicates whether to jump or not.

    NavigateToCurrentDate(Boolean)

    Specifies whether to show current date in MonthCalenderAdv

    Declaration
    public void NavigateToCurrentDate(bool m_navigate)
    Parameters
    Type Name Description
    System.Boolean m_navigate

    Specifies whether to navigate to current date

    OnBeforePopup(EventArgs)

    Declaration
    protected virtual void OnBeforePopup(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnBindableValueChanged(EventArgs)

    Raises the BindableValueChanged event.

    Declaration
    protected virtual void OnBindableValueChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    An System.EventArgs that contains the event data.

    OnBorderColorChanged()

    Declaration
    protected override void OnBorderColorChanged()
    Overrides
    GradientPanel.OnBorderColorChanged()

    OnBorderStyleChanged()

    Declaration
    protected override void OnBorderStyleChanged()
    Overrides
    GradientPanel.OnBorderStyleChanged()

    OnCheckBoxCheckedChanged(EventArgs)

    Declaration
    protected virtual void OnCheckBoxCheckedChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnGotFocus(EventArgs)

    Declaration
    protected override void OnGotFocus(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnHandleCreated(EventArgs)

    Declaration
    protected override void OnHandleCreated(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    GradientPanel.OnHandleCreated(EventArgs)

    OnHandleDestroyed(EventArgs)

    Declaration
    protected override void OnHandleDestroyed(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    GradientPanel.OnHandleDestroyed(EventArgs)

    OnLostFocus(EventArgs)

    Declaration
    protected override void OnLostFocus(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseDown(MouseEventArgs)

    Declaration
    protected override void OnMouseDown(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnOffice2007ThemeChanged()

    Declaration
    protected virtual void OnOffice2007ThemeChanged()

    OnOffice2010ThemeChanged()

    Declaration
    protected virtual void OnOffice2010ThemeChanged()

    OnOnPopup(EventArgs)

    Declaration
    protected virtual void OnOnPopup(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e
    Overrides
    GradientPanel.OnPaint(PaintEventArgs)

    OnPopupClosed(PopupClosedEventArgs)

    Declaration
    protected virtual void OnPopupClosed(PopupClosedEventArgs e)
    Parameters
    Type Name Description
    PopupClosedEventArgs e

    OnRightToLeftChanged(EventArgs)

    Declaration
    protected override void OnRightToLeftChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnStretchDropDownImageChanged()

    Declaration
    protected virtual void OnStretchDropDownImageChanged()

    OnThemeChanged(EventArgs)

    Declaration
    protected override void OnThemeChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    GradientPanel.OnThemeChanged(EventArgs)

    OnValueChanged(EventArgs)

    Declaration
    protected virtual void OnValueChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    Paste()

    Pastes clipboard data to Value property.

    Declaration
    public bool Paste()
    Returns
    Type Description
    System.Boolean

    True if clipboard data has been sucessfully pasted.

    ProcessCmdKey(ref Message, Keys)

    Declaration
    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg
    System.Windows.Forms.Keys keyData
    Returns
    Type
    System.Boolean

    RefreshFields()

    Refreshes all date-time input fields of the control.

    Declaration
    public void RefreshFields()

    ResetBackColor()

    Declaration
    protected void ResetBackColor()

    ResetBorderColor()

    Declaration
    protected void ResetBorderColor()

    ResetCalendarFont()

    Declaration
    protected void ResetCalendarFont()

    ResetCalendarForeColor()

    Declaration
    protected void ResetCalendarForeColor()

    ResetCalendarMonthBackground()

    Declaration
    protected void ResetCalendarMonthBackground()

    ResetCalendarSize()

    Declaration
    protected void ResetCalendarSize()

    ResetCalendarTitleBackColor()

    Declaration
    protected void ResetCalendarTitleBackColor()

    ResetCalendarTitleForeColor()

    Declaration
    protected void ResetCalendarTitleForeColor()

    ResetCalendarTrailingForeColor()

    Declaration
    protected void ResetCalendarTrailingForeColor()

    ResetCulture()

    Declaration
    protected void ResetCulture()

    ResetCustomFormat()

    Declaration
    protected void ResetCustomFormat()

    ResetDropDownAlign()

    Declaration
    protected void ResetDropDownAlign()

    ResetDropDownNormalColor()

    Declaration
    protected void ResetDropDownNormalColor()

    ResetDropDownPressedColor()

    Declaration
    protected void ResetDropDownPressedColor()

    ResetDropDownSelectedColor()

    Declaration
    protected void ResetDropDownSelectedColor()

    ResetForeColor()

    To reset the fore color

    Declaration
    public override void ResetForeColor()

    ResetMaxValue()

    Declaration
    protected void ResetMaxValue()

    ResetMinValue()

    Declaration
    protected void ResetMinValue()

    ResetNullableValue()

    Declaration
    public void ResetNullableValue()

    ResetStyleBorderColor()

    Declaration
    protected void ResetStyleBorderColor()

    ResetSuppressValueChangedOnNavigation()

    Reset the SuppressValueChangedOnNavigation.

    Declaration
    protected void ResetSuppressValueChangedOnNavigation()

    ResetUseBorderStyle()

    Resets the UseBorderStyle property to it's default value.

    Declaration
    public void ResetUseBorderStyle()

    ResetValue()

    Declaration
    protected void ResetValue()

    ShouldSerializeBackColor()

    Declaration
    protected bool ShouldSerializeBackColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeBorderColor()

    Declaration
    protected bool ShouldSerializeBorderColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeCalendarFont()

    Declaration
    protected bool ShouldSerializeCalendarFont()
    Returns
    Type
    System.Boolean

    ShouldSerializeCalendarForeColor()

    Declaration
    protected bool ShouldSerializeCalendarForeColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeCalendarMonthBackground()

    Declaration
    protected bool ShouldSerializeCalendarMonthBackground()
    Returns
    Type
    System.Boolean

    ShouldSerializeCalendarSize()

    Declaration
    protected bool ShouldSerializeCalendarSize()
    Returns
    Type
    System.Boolean

    ShouldSerializeCalendarTitleBackColor()

    Declaration
    protected bool ShouldSerializeCalendarTitleBackColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeCalendarTitleForeColor()

    Declaration
    protected bool ShouldSerializeCalendarTitleForeColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeCalendarTrailingForeColor()

    Declaration
    protected bool ShouldSerializeCalendarTrailingForeColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeCulture()

    Declaration
    protected bool ShouldSerializeCulture()
    Returns
    Type
    System.Boolean

    ShouldSerializeCustomFormat()

    Declaration
    protected bool ShouldSerializeCustomFormat()
    Returns
    Type
    System.Boolean

    ShouldSerializeDropDownAlign()

    Declaration
    protected bool ShouldSerializeDropDownAlign()
    Returns
    Type
    System.Boolean

    ShouldSerializeDropDownNormalColor()

    Declaration
    protected bool ShouldSerializeDropDownNormalColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeDropDownPressedColor()

    Declaration
    protected bool ShouldSerializeDropDownPressedColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeDropDownSelectedColor()

    Declaration
    protected bool ShouldSerializeDropDownSelectedColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeMaxValue()

    Declaration
    protected bool ShouldSerializeMaxValue()
    Returns
    Type
    System.Boolean

    ShouldSerializeMinValue()

    Declaration
    protected bool ShouldSerializeMinValue()
    Returns
    Type
    System.Boolean

    ShouldSerializeNullableValue()

    Declaration
    public bool ShouldSerializeNullableValue()
    Returns
    Type
    System.Boolean

    ShouldSerializeSize()

    Declaration
    protected bool ShouldSerializeSize()
    Returns
    Type
    System.Boolean

    ShouldSerializeStyleBorderColor()

    Declaration
    protected bool ShouldSerializeStyleBorderColor()
    Returns
    Type
    System.Boolean

    ShouldSerializeSuppressValueChangedOnNavigation()

    Serialize the SuppressValueChangedOnNavigation.

    Declaration
    protected bool ShouldSerializeSuppressValueChangedOnNavigation()
    Returns
    Type
    System.Boolean

    ShouldSerializeUseBorderStyle()

    Indicates whether the current value of the UseBorderStyle property is to be serialized.

    Declaration
    protected bool ShouldSerializeUseBorderStyle()
    Returns
    Type
    System.Boolean

    ShouldSerializeValue()

    Declaration
    protected bool ShouldSerializeValue()
    Returns
    Type
    System.Boolean

    WndProc(ref Message)

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m
    Overrides
    GradientPanel.WndProc(ref Message)

    Events

    BeforePopup

    Occurs before Calendar popup.

    Declaration
    public event EventHandler BeforePopup
    Event Type
    Type
    System.EventHandler

    BindableValueChanged

    Occurs when the BindableValue property is changed.

    Declaration
    public event EventHandler BindableValueChanged
    Event Type
    Type
    System.EventHandler

    CheckBoxCheckedChanged

    Occurs when check-box's checked state is changed.

    Declaration
    public event EventHandler CheckBoxCheckedChanged
    Event Type
    Type
    System.EventHandler

    KeyPress

    Occurs when Calendar popup is closed.

    Declaration
    public event KeyPressEventHandler KeyPress
    Event Type
    Type
    System.Windows.Forms.KeyPressEventHandler

    OnPopup

    Occurs on Calendar popup.

    Declaration
    public event EventHandler OnPopup
    Event Type
    Type
    System.EventHandler

    PopupClosed

    Occurs when Calendar popup is closed.

    Declaration
    public event PopupClosedEventHandler PopupClosed
    Event Type
    Type
    PopupClosedEventHandler

    StretchDropDownImageChanged

    Occurs when StretchDropDownImage property is changed.

    Declaration
    public event EventHandler StretchDropDownImageChanged
    Event Type
    Type
    System.EventHandler

    ValueChanged

    Occurs when Value property is changed.

    Declaration
    public event EventHandler ValueChanged
    Event Type
    Type
    System.EventHandler

    Explicit Interface Implementations

    IVisualStyle.VisualTheme

    Declaration
    string IVisualStyle.VisualTheme { get; set; }
    Returns
    Type
    System.String

    Implements

    IThemeProvider
    INonClientPaintingSupport
    System.ComponentModel.ISupportInitialize
    IThemedControl
    IVisualStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved