The following example shows how to create a rich-text editor that provides editor selection suggestions from a drop-down, as shown in the image.


The code example creates a class that implements the new interface `ISelectionQuery
`:

Add the new `AutoSuggestionEditor
`Â attribute to your property to use the editor:

Note
Set the `
AllowCustomValues
` property to **true** so that the editor is not forced to select one of the suggested choices. By default, this property is set to false and the editor must select one of the suggested values.