IDialogContext
Represents the configuration and state of a displayed dialog.
Namespace: ControlBee.Interfaces
Properties
| Name | Type | Description |
|---|---|---|
ActorName | string | The name of the actor that owns the dialog. |
ItemPath | string | The item path of the dialog within the actor. |
Name | string | The name/title of the dialog. |
Desc | string | The description or message text. |
Code | int? | An optional error or event code. |
Severity | DialogSeverity | The severity level of the dialog. |
ActionButtons | string[] | 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;