[This is preliminary documentation and is subject to change.]

Determines if the user is allowed to perform Incremental Search while the Activity is set to [!:Box.Activity.Browse].

Namespace:  Firefly.Box
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: 3.4.23.6473 (3.4.23.6473)

Syntax

C#
public bool AllowIncrementalSearch { get; set; }
Visual Basic (Declaration)
Public Property AllowIncrementalSearch As Boolean
Visual C++
public:
property bool AllowIncrementalSearch {
	bool get ();
	void set (bool value);
}

Remarks

If set to true, the user will be able to type values, and navigate to a row that matches the values he typed.

Examples

This example demonstrates the usage of BasicIncrementalSearch
This example is based on test data. The code for the entities included in this test data can be found in the documentation of Entity
This example uses automatic tools to generate parts of the user interface. Those tools can be found in the example of the documentation of Form
CopyC#
using System;
using System.Collections.Generic;
using System.Text;

using Firefly.Box;
using Firefly.Box.Testing;

namespace TestFirefly.Box.Documentation
{
    public class BasicIncrementalSearch
    {
        public void IncrementalSearch()
        {
            var jobs = new Pubs.Jobs();
            jobs.InitializeWithTestData();

            var uic = new UIController()
            {
                From = jobs,
                Activity = Activities.Browse,
                AllowIncrementalSearch = true,//The default
                View = UITools.GenerateFormWithGridFor("Display Jobs",
                                                       "Try typing the first letters of a value from another row, and see how the grid automatically navigates to that row",
                                                       jobs.Description,
                                                       jobs.MinLevel,
                                                       jobs.MaxLevel)
            };
            uic.Run();

        }
    }
}

See Also