wpf-devexpress-dot-xpf-dot-editors-dot-autosuggestedit-f2dc09f4.md
Gets or sets whether the editor highlights the search results in its dropdown text according to the PopupHighlightedTextCriteria criteria. This is a dependency property.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool AllowPopupTextHighlighting { get; set; }
Public Property AllowPopupTextHighlighting As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the search text is highlighted; otherwise, false.
|
Set the AllowPopupTextHighlighting property to true to make control highlight the search text in a list of suggestions.
To set the search criteria (any of the HighlightedTextCriteria enumeration values), use the PopupHighlightedTextCriteria property.
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<dxe:AutoSuggestEdit
AllowPopupTextHighlighting="True"
PopupHighlightedTextCriteria="Contains"
ImmediatePopup="True"/>
</Window>
The AllowPopupTextHighlighting property has no effect in the following cases:
See Also