Skip to main content
All docs
V24.1

TextEditCustomizeAutoCompleteSourceEventArgs.CustomSource Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.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