This example demonstrates how to create and register custom editors to be used for editing the content of report controls in Print Preview. In particular, it shows how to create a combo box editor, a date editor with a custom format and a standard text editor with a phone number mask.
The following image illustrates a custom combo box editor.
Files to look at:
• App.xaml• MainViewModel.cs (VB: MainViewModel.vb)
• MainWindow.xaml (VB: MainWindow.xaml)
• ReportViewModel.cs (VB: ReportViewModel.vb)
• XtraReport1.cs (VB: XtraReport1.vb)