Interface IEditControlsEmbed
Implement this interface in a class if the class embeds one or more edit controls (text boxes, combo boxes). Implementing this interface provides a way for external classes to access the embedded edit control(s).
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface IEditControlsEmbed
Methods
GetActiveEditControl(IEditControlsEmbedListener)
Returns the active edit control (text box, combo box).
Declaration
Control GetActiveEditControl(IEditControlsEmbedListener listener)
Parameters
Type | Name | Description |
---|---|---|
IEditControlsEmbedListener | listener | The IEditControlsEmbedListener based auto complete control. |
Returns
Type |
---|
System.Windows.Forms.Control |
Remarks
The implementation of this method will let the AutoComplete control provide a link back to it so that it can be informed of any changes in the active edit control.
This is used when there are more than one edit controls on one composite control. In this case, the AutoComplete control will be informed when there is a change in focus between the different edit controls. This is assuming that the AutoComplete control is not able to sense the change in focus.