SmartAutoCompleteBehaviorProperties Class
Smart Autocomplete behavior settings.
Namespace: DevExpress.AIIntegration.WinForms
Assembly: DevExpress.AIIntegration.WinForms.v25.1.dll
NuGet Package: DevExpress.AIIntegration.WinForms
Declaration
Related API Members
The following members return SmartAutoCompleteBehaviorProperties objects:
Remarks
Use the TypingPauseDelay setting to specify a delay, in milliseconds. Once the user stops typing, the extension waits for the specified delay before executing an AI action.
using DevExpress.AIIntegration.WinForms;
namespace SmartAutoCompleteDemo {
public partial class Form1 : DevExpress.XtraEditors.XtraForm {
public Form1() {
InitializeComponent();
behaviorManager1.Attach<SmartAutoCompleteBehavior>(memoEdit1, behavior => {
behavior.Properties.TypingPauseDelay = 200;
behavior.Properties.Events.OperationFailed += Events_OperationFailed;
});
}
}
void Events_OperationFailed(object sender, AIOperationFailedEventArgs e) {
// Handle the operation failure
}
}
Read the following help topic for additional information and examples: Smart Autocomplete.
Inheritance
Object
DevExpress.Utils.Base.BaseObject
DevExpress.Utils.Base.BaseProperties
DevExpress.Utils.Behaviors.BehaviorProperties
DevExpress.Utils.Behaviors.BehaviorPropertiesWithEvents
SmartAutoCompleteBehaviorProperties
See Also