IWisejEditorService
Namespace: Wisej.Core
Assembly: Wisej.Framework (4.1.0.0)
Provides an interface for a UITypeEditor to display an editor form or a control in a drop-down area from a property grid control.
- C#
- VB.NET
public interface IWisejEditorService
Public Interface IWisejEditorService
Methods
CloseDropDown()
Closes any previously opened drop down control area.
DropDownControl(control)
Displays the specified control in a modal drop down panel below a value field of the property grid that provides this service and waits for the user to close the drop down.
| Parameter | Type | Description |
|---|---|---|
| control | Control | The Control to show in the modal drop down panel. |
DropDownControlAsync(control)
Displays the specified control in an asynchronous modal drop down panel below a value field of the property grid that provides this service.
| Parameter | Type | Description |
|---|---|---|
| control | Control | The Control to show in the asynchronous modal drop down panel. |
Returns: Task. A Task that the user code that await on.
ShowDialog(dialog)
Shows the specified Form and returns its DialogResult when the user closes it.
| Parameter | Type | Description |
|---|---|---|
| dialog | Form | The modal Form to display asynchronously. |
Returns: DialogResult. A DialogResult indicating the result returned by the dialog .
ShowDialogAsync(dialog)
Shows the specified Form asynchronously and returns its DialogResult when the user closes it.
| Parameter | Type | Description |
|---|---|---|
| dialog | Form | The modal Form to display asynchronously. |
Returns: Task<DialogResult>. A DialogResult wrapped in a Task indicating the result returned by the dialog .