Form

GPALDateTimePicker

GPALDateTimePicker provides a calendar-based date/time selection control. The selected value is stored as a string in the form data output. Configure the display format (date only, time only, or both) via the control settings. FillInFrom can pre-populate the picker with a date value from a data source.

Examples

GPAL Fluent: High-level fluent C# API

//The selected date is returned as a string in the form data grid. Parse it with DateTime.Parse in your callback or post-processing code.

// Date picker in a form

GPAL.Form

.WithTitle("Schedule Report")

.WithFormControl((DateTimePicker)GPAL.DateTimePicker

.WithText("Report Date"))

.ShowDialog();

💬 Ask GPAL