Home Documentation Download License Contact

Search Field Template

Provides individual templates for fields of the search control.

Key SearchFieldTemplate
Defined In M4ComponentsView.EmployComponents.SearchFieldTemplate
Interface M4ComponentsView.EmployComponents.ISearchFieldTemplate

GetDataTemplate(M4ComponentsView.EmployElements.SearchParameterView) DataTemplate
Returns the DataTemplate for this search field.
The SearchParameterView contains the information needed for template creation.
Standard Implementations None
Example M4CustomLibrary.EmployDataTemplates.ColoredSearchTemplate
Shows a search field text box with a custom background color.
Default background color is red. To use a custom color, create a template and set the CustomTextBoxBackground property to the color you want.