Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AutoSuggestEdit.AllowPopupTextHighlighting Property

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool AllowPopupTextHighlighting { get; set; }

#Property Value

Type Description
Boolean

true if the search text is highlighted; otherwise, false.

#Remarks

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