C# Class SIL.FieldWorks.Common.Framework.DetailControls.FwCancelSearchButton

This Button signals that a search is possible by showing a magnifying glass to the right of a search box. In this state the button is not enabled. When a search is active, it changes to an X that is enabled and when clicked on will revert to no search being active. Most of the work happens in the SearchIsActive setter. The Button's click event should be hooked up to a handler that clears the search (text) and (consequently) sets SearchIsActive to false.
Inheritance: System.Windows.Forms.Button
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
FwCancelSearchButton ( ) : System.Drawing
Init ( ) : void

Method Details

FwCancelSearchButton() public method

public FwCancelSearchButton ( ) : System.Drawing
return System.Drawing

Init() public method

public Init ( ) : void
return void