This example creates a custom tile control that implements the ISearchControlClient
interface to allow users to use the WinForms SearchControl.
Implement the following members:
SetSearchControl
- This method is invoked when you attach/detach your object to/from theSearchControl.Client
property.IsAttachedToSearchControl
- This property specifies whether your object is attached to the SearchControl.ApplyFindFilter
- This method is called to filter items. You should implement your own logic to filter items.CreateSearchProvider
- This method must return aSearchControlProviderBase
descendant. This provider containsSearchText
andFilterCondition
obtained from theRepositoryItemSearchControl.FilterCondition
property.
You should also override the SearchControlProviderBase.GetCriteriaInfoCore
method to return a SearchInfoBase
descendant. This object is passed to the ApplyFindFilter
method as a parameter.
(you will be redirected to DevExpress.com to submit your response)