Skip to main content
All docs
V24.2

SmartAutoCompleteBehaviorProperties.TypingPauseDelay Property

Gets or sets a delay before executing an AI action after the user stops typing.

Namespace: DevExpress.AIIntegration.WinForms

Assembly: DevExpress.AIIntegration.WinForms.v24.2.dll

Declaration

[DefaultValue(500)]
public int TypingPauseDelay { get; set; }

Property Value

Type Default Description
Int32 500

The delay, in milliseconds.

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;
            });
        }
    }
}

Read the following help topic for additional information and examples: Smart Autocomplete.

See Also