Skip to main content

Populating Event

Occurs when the AutoCompleteBox is populating the drop-down with possible matches based on the Text property.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public event EventHandler<PopulatingEventArgs> Populating

Value

EventHandler(PopulatingEventArgs)

Remarks

If the event is canceled, by setting the PopulatingEventArgs.Cancel property to true, the AutoCompleteBox will not automatically populate the selection adapter contained in the drop-down. In this case, if you want possible matches to appear, you must provide the logic for populating the selection adapter.

See Also

Reference

AutoCompleteBox Class
Avalonia.Controls Namespace