Class WaitPanelDisplay
Displays a wait panel on an application during long running operations.
Implements
Inherited Members
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public class WaitPanelDisplay : IDisposable
Constructors
| Edit this page View SourceWaitPanelDisplay(Control)
Initializes a new instance of the WaitPanelDisplay class.
Declaration
public WaitPanelDisplay(Control appForm)
Parameters
Type | Name | Description |
---|---|---|
Control | appForm | The application form that will be the parent to the wait panel. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when the |
Methods
| Edit this page View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
SetDataContext(IViewModel)
Function to assign the data context that will trigger the wait panel.
Declaration
public void SetDataContext(IViewModel dataContext)
Parameters
Type | Name | Description |
---|---|---|
IViewModel | dataContext | The data context to hook. |