Nevron Open Vision Documentation
Date Time Box

The date time box lets the user select a date and/or time from a drop down calendar or some other widget.

Properties and Events

The date time box provides the following properties:

Code Example

The following example demonstrates how to create a date time box and handle it SelectedDateChanged event.

Date Time Box Example
Copy Code
dateTimeBox = new NDateTimeBox();
dateTimeBox.SelectedDateChanged += new Function<NValueChangeEventArgs>(OnDateDropDownSelectedColorChanged);

private void OnDateTimeBoxSelectedColorChanged(NValueChangeEventArgs args)
{
    DateTime newDate = (DateTime)args.NewValue;
}
Send Feedback