Defines the appearance of the search button in the control.
Remarks
Property specifies the state of the button, used for extended search, in a control. It depends on the state of the button what kind of actions will user be able to execute.
To learn more about button states see chapter Navigation Button States.
When search button is clicked a window for extended search appears. The window contains grid with all visible fields. Using the grid it is possible to find the desired record faster. First row can be used as a filter row. Grid also offers several features which can be used to achieve the goal faster that is to find the desired data quickly.
Records can be sorted in ascending or descending order by any column in the grid. It is possible to create custom filter rule by which data is displayed. Several additional features are also available for customizing the appearance.
Extended search is mostly appropriate for controls containing large amount of data. In this case extended search feature proves very useful.
Example (MxSpace)
To see the defined SearchButton property on a control (AdvancedText) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click StockPart.cs. Click the advanced text control displaying last names and open Property Window. See the value Default defined in SearchButton property.
To define SearchButton property
- In Solution Explorer open MxPart component (StockPart) which contains control (AdvancedText) for data binding.
- Select the desired control (AdvancedText – Last Name) on the canvas.
- Open Property Window.
- In section Design in SearchButton property select the desired value (Default).