Back to Devexpress

RepositoryItemTokenEdit.PopupFilterMode Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtokenedit-14228f91.md

latest2.4 KB
Original Source

RepositoryItemTokenEdit.PopupFilterMode Property

Gets or sets how items within this TokenEdit‘s popup are filtered.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(TokenEditPopupFilterMode.StartWith)]
[DXCategory("Behavior")]
public TokenEditPopupFilterMode PopupFilterMode { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(TokenEditPopupFilterMode.StartWith)>
Public Property PopupFilterMode As TokenEditPopupFilterMode

Property Value

TypeDefaultDescription
DevExpress.XtraEditors.TokenEditPopupFilterModeStartWith

A DevExpress.XtraEditors.TokenEditPopupFilterMode enumerator value that specifies how items within this TokenEdit‘s popup are filtered.

|

Remarks

The PopupFilterMode property sets the rule based on which items in this TokenEdit control’s popup are filtered as an end-user enters text to the editor.

  • StartWith mode specifies that the editor popup displays only those tokens whose caption starts with the same character(s) as an end-user has entered;
  • Contains mode specifies that the editor popup displays all tokens whose captions contain the character(s) an end-user has entered.

The figure below illustrates the difference between the two PopupFilterMode modes.

See Also

Token Edit Control

RepositoryItemTokenEdit Class

RepositoryItemTokenEdit Members

DevExpress.XtraEditors.Repository Namespace