Skip to main content
All docs
V25.1
  • SmartSearchBehavior() Constructor

    Initializes a new instance of the SmartSearchBehavior class.

    Namespace: DevExpress.AIIntegration.Wpf

    Assembly: DevExpress.AIIntegration.Wpf.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Wpf

    Declaration

    public SmartSearchBehavior()

    Remarks

    using DevExpress.AIIntegration.Wpf;
    using DevExpress.AIIntegration.Wpf.SmartSearch;
    using DevExpress.Mvvm.UI.Interactivity;
    using DevExpress.Xpf.Bars;
    using DevExpress.Xpf.Core;
    using System.Windows;
    
    namespace DXSmartSearch {
        public partial class MainWindow : ThemedWindow {
            public MainWindow() {
                InitializeComponent();
                this.SearchItemDisplayMode = SearchItemDisplayMode.Right;
                this.SearchDelay = 300;
                SmartSearchBehavior behavior = new SmartSearchBehavior();
                Interaction.GetBehaviors(this).Add(behavior);
            }
        }
    }
    

    See the following help topic for more information: Smart Search AI-powered Extension.

    See Also