Class ComboBoxAutoCompleteDesigner
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools.Design
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ComboBoxAutoCompleteDesigner : ControlDesigner
Constructors
ComboBoxAutoCompleteDesigner()
Initializes a new instance of the ButtonEditDesigner class.
Declaration
public ComboBoxAutoCompleteDesigner()
Fields
dvcVerbs
The collection of designer verbs.
Declaration
protected DesignerVerbCollection dvcVerbs
Field Value
| Type |
|---|
| System.ComponentModel.Design.DesignerVerbCollection |
dvRefreshColumns
Designer verb for adding a button.
Declaration
protected DesignerVerb dvRefreshColumns
Field Value
| Type |
|---|
| System.ComponentModel.Design.DesignerVerb |
Properties
ActionLists
Declaration
public override DesignerActionListCollection ActionLists { get; }
Property Value
| Type |
|---|
| System.ComponentModel.Design.DesignerActionListCollection |
Verbs
Returns the designer verbs collection.
Declaration
public override DesignerVerbCollection Verbs { get; }
Property Value
| Type |
|---|
| System.ComponentModel.Design.DesignerVerbCollection |
Methods
Dispose(Boolean)
Overrides Dispose. Here we remove our handler for the selection changed event. With designers, it is critical that they clean up any events they have attached. Otherwise, during the course of an editing session many designers may get created and never destroyed.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
HandleRefreshColumns(Object, EventArgs)
Handles the AddButton.
Declaration
public void HandleRefreshColumns(object sender, EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender | The designer. |
| System.EventArgs | e | The event data. |
Initialize(IComponent)
Overrides initialize. Here we add an event handler to the selection service. Notice that we are very careful not to assume that the selection service is available. It is entirely optional that a service is available and you should always degrade gracefully if a service could not be found.
Declaration
public override void Initialize(IComponent control)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.IComponent | control | The AutoComplete control that is being designed. |
InitializeExistingComponent(IDictionary)
Declaration
public override void InitializeExistingComponent(IDictionary defaultValues)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.IDictionary | defaultValues |
PreFilterProperties(IDictionary)
Adjusts the set of properties the component exposes through a TypeDescriptor.
Declaration
protected override void PreFilterProperties(IDictionary properties)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.IDictionary | properties | An IDictionary that contains the properties for the class of the component. |