This release sees new ComboBox and Segmented controls, new date-time and numeric columns in DataGrid and TreeGrid, and multiple calendar types—Gregorian, Korean, Hebrew, and more—in the Scheduler.
The following controls are production-ready for desktop applications:
The WinUI ComboBox control (DropDown List) is a text box component that allows users to type a value or choose an option from a list of predefined options. It has several out-of-the-box features, such as data binding, multiselection, filtering, UI customization, and custom templates.
Editable and non-editable text boxes to select items from the given data source.
The ComboBox filters items based on the entered text and auto fills with the first suggestion.
ComboBox control allows single and multiple selection. The required selection can easily be specified using the SelectionMode property.
Display placeholder text inside the control until the user inputs text.
Dropdown list items can be customized with an image or custom control using templates.
Localize the static text to any supported language.
The Segmented control provides a simple way to choose from a linear set of two or more segments, each of which functions as a mutually exclusive option.
Customize the segment background, text color, selection style, and more using the built-in features to fit your application’s theme.
Populate the segment items from a collection of strings and business objects.
Completely customize the segments with custom UI.
Change the first day of the week in a calendar automatically based on the current culture.
Show the time column and select a time using the TimePicker editor control.
Show the numeric column and edit the values using the NumberBox editor control.
Now, the following input controls support headers and descriptions:
Modify the culture of a specific NumberBox.
Use the context menu to perform clipboard and selection operations. Also, replace it with a custom context menu.
NumberBox will not allow users to enter more decimal digits than the specified format.
NumberBox will show a numeric keypad by default in the tablet mode. It can also be changed to other types of keypads.
Hide the text box in the NumberBox control and attach the repeat button to another control.
Set different calendar types such as Gregorian, Korean, or Hebrew.
Scheduler view types are listed in the scheduler header to quickly navigate among them.
Navigate dates using a built-in date picker available in the scheduler header.
Adjust the height of the resource view in timeline views based on the appointments and set the minimum height for the resource view in timeline views.
The ReminderAlertOpening event is used to remind users of Scheduler events or appointments at a set time.