Skip to main content
Version: 4.1

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.

public interface IWisejEditorService

Methods

Instance member CloseDropDown()

Closes any previously opened drop down control area.

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.

ParameterTypeDescription
controlControlThe Control to show in the modal drop down panel.

Displays the specified control in an asynchronous modal drop down panel below a value field of the property grid that provides this service.

ParameterTypeDescription
controlControlThe Control to show in the asynchronous modal drop down panel.

Returns: Task. A Task that the user code that await on.

Instance member ShowDialog(dialog)

Shows the specified Form and returns its DialogResult when the user closes it.

ParameterTypeDescription
dialogFormThe modal Form to display asynchronously.

Returns: DialogResult. A DialogResult indicating the result returned by the dialog .

Instance member ShowDialogAsync(dialog)

Shows the specified Form asynchronously and returns its DialogResult when the user closes it.

ParameterTypeDescription
dialogFormThe modal Form to display asynchronously.

Returns: Task<DialogResult>. A DialogResult wrapped in a Task indicating the result returned by the dialog .