Skip to main content
All docs
V24.2

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

TextEditCustomizeAutoCompleteSourceEventArgs.CustomSource Property

Allows you to specify custom auto-complete suggestions for the current word (EditingWord).

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public string[] CustomSource { get; set; }

#Property Value

Type Description
String[]

An array of custom auto-complete suggestions.

#Remarks

If the CustomSource event parameter is set to null, the editor’s auto-complete drop-down list displays suggestions from the TextEditAdvancedModeOptions.AutoCompleteCustomSource collection.

When you assign custom auto-complete suggestions to the CustomSource property, you also need to set the Handled event parameter.

If the Handled parameter is set to false (the default value), the editor filters the supplied auto-complete suggestions to display only those items in the drop-down that start with the word being edited (EditingWord).

Set the Handled parameter to true to avoid automatic filtering, and display the supplied auto-complete suggestions in the drop-down as is.

See Also