We compiled a series of WPF-related support tickets we hope you’ll find useful as you explore and use our WPF product line. As always, if you have questions about the content below, feel free to share your feedback in the comments section. We’ll happily follow up.
WPF Data Grid
- How to add a tree editor to a WPF Data Grid cell (T956316)
- How to catch the moment when the current WPF Data Grid page changes (T944740)
Use GridControl’s CurrentPageIndexChanging and/or CurrentPageIndexChanged events.
- How to customize RadioListFilterElement text (T955755)
- How to retain selected row style when the WPF Data Grid becomes inactive (T957921)
Set TableView’s FadeSelectionOnLostFocus to
false
to use the same colors for selected rows in active and inactive WPF Data Grid states. - How to use the Contains filter condition with InfiniteAsyncSource (T957387)
- How to define palettes for PopupColorEditSettings (T957012)
- How to use CurrentCellValue for a detail record (master-detail) within the WPF Data Grid (T955290)
The currently focused view in a master-detail Data Grid can be retrieved via the FocusedView property. Use this property to obtain currently focused cell values:
object cellValue = e.Source.FocusedView?.DataControl?.CurrentCellValue;
- How to allow end users to use Merge Grouping without the Ctrl key (T956790)
- How to show and hide the Search Panel on changes in a custom CheckBox state (T956890)
- How to hide empty tabs in a detail WPF Data Grid (T953628)
WPF Editors
- How to implement a drop-down editor bound to an asynchronous data source (T954253)
Select one of the following methods for this type of drop-down editor:
- Use ComboBoxEdit or LookUpEdit bound to instant feedback data sources.
- Use AutoSuggestEdit and handle its QuerySubmitted event. See the following example for more information: How to use AutoSuggestEdit with InfiniteAsyncSource.
- How to hide "Theme Colors" and "Standard Colors" in ColorEdit (T956035)
WPF Scheduler
- How to display text in Time Regions (T951725)
Define a custom TimeRegionContentTemplate in the view(s) displayed within your WPF Scheduler. To display different content for different Time Regions, use TimeRegionContentTemplateSelector.
- How to hatch certain WPF Scheduler cells (T950963)
WPF Maps
- How to use Key-Color Colorizer with BubbleChartDataAdapter in WPF Map Control (T940372)
- How to generate MapDots with a ListSourceDataAdapter data source (T949795)
WPF Charting
WPF Ribbon
- How to display WPF Ribbon items from child modules in the root RibbonControl (T950175)
Use the MDI Ribbon Merging feature.
WPF Property Grid
- How to specify a parent property for nested PropertyDefinitions and only display headers in parent rows (T957082)
To specify the path to a parent property, use PropertyDefinition.Scope. To only display the parent header, set PropertyDefinition.HeaderShowMode to
OnlyHeader
.
Other controls
- How to support custom shortcuts to switch tabs in DevExpress Tab Control (T955618)
- How to prevent WinUIDialogService from closing when the Enter key is pressed (T955964)
- How to avoid restoring the previously opened directory in OpenFileDialogService (T947310)
Disable the
RestorePreviouslySelectedDirectory
property in OpenFileDialogService.
If you’ve come across a WPF-related support ticket that you’d like to share with the rest of the DevExpress community, feel free to share the link in the comments section.