Skip to main content

IDialogContext

Represents the configuration and state of a displayed dialog.

Namespace: ControlBee.Interfaces

Properties

NameTypeDescription
ActorNamestringThe name of the actor that owns the dialog.
ItemPathstringThe item path of the dialog within the actor.
NamestringThe name/title of the dialog.
DescstringThe description or message text.
Codeint?An optional error or event code.
SeverityDialogSeverityThe severity level of the dialog.
ActionButtonsstring[]The action button labels displayed in the dialog.

Methods

Close

Requests the dialog to close.

void Close();

Events

CloseRequested

Raised when a close request is made.

event EventHandler? CloseRequested;

See Also