ComponentOne Input for WinForms
Input for WinForms Task-Based Help / Customizing the C1DateEdit Control
In This Topic
    Customizing the C1DateEdit Control
    In This Topic

    This topic demonstrates how to customize the drop-down of a C1DateEdit control. By default, the drop-down appears like the image below:

    datepicker

    Button Visibility

    You can hide the Clear and Today buttons by performing the following tasks:

    1. Select the C1DateEdit control.
    2. In the Properties window, expand the Calendar property node.
    3. Set the ShowClearButton and ShowTodayButton properties to False.

    Format Display

    The FormatType property allows you to edit the date displayed in the box.

    By default, the date and time are displayed in the box. To only show the date, perform the following task:

    1. Select the C1DateEdit control.
    2. In the Properties window, set the FormatType property to ShortDate.
    See Also