ComponentOne Input for WinForms
Setting the Calendar Drop-down
Input for WinForms Task-Based Help > Setting the Calendar Drop-down

In previous versions of Input for WinForms, the Calendar feature in the C1DateEdit control allowed you to set the "Today" and "Clear" buttons by manipulating the Calendar.UIString property. In newer versions of the C1Input.DateEdit control, you can set these buttons by accessing the C1DateEdit properties menu.

To set the "Today" and "Clear" buttons:

  1. Add the C1DateEdit control to your form.
  2. Select C1.DateEdit1 from the Properties menu.
  3. Locate Calendar in the left column and expand the Calendar property.
  4. Locate ClearText in the left column and enter "&Reset" in the right column.
  5. Locate TodayText in the left column and enter "&Now" in the right column.
  6. Press F5 to compile and run the project.

Now when you open the C1DateEdit dropdown menu, the "Today" and "Clear" buttons are set.

See Also