Skip to content

This example creates a custom Tile control that allows users to filter tiles using the WinForms Search Control.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-tilecontrol-support-searchcontrol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use WinForms SearchControl with TileControl

This example creates a custom tile control that implements the ISearchControlClient interface to allow users to use the WinForms SearchControl

Implementation Details

Implement the following members:

  • SetSearchControl - This method is invoked when you attach/detach your object to/from the SearchControl.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 a SearchControlProviderBase descendant. This provider contains SearchText and FilterCondition obtained from the RepositoryItemSearchControl.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.

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

This example creates a custom Tile control that allows users to filter tiles using the WinForms Search Control.

Topics

Resources

License

Stars

Watchers

Forks