Class WaitCursorBusyState
An implementation of IBusyStateService that shows a wait cursor when an application main thread is busy.
Implements
Inherited Members
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public class WaitCursorBusyState : IBusyStateService
Remarks
This implementation is reference counted. That is, a call to SetBusy() increments an internal counter.
Properties
| Edit this page View SourceIsBusy
Property to return whether or not there's a busy state.
Declaration
public bool IsBusy { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceReset()
Function to forcefully reset the busy state back to an idle state.
Declaration
public void Reset()
SetBusy()
Function to set busy state.
Declaration
public void SetBusy()
SetIdle()
Function to hide the busy state.
Declaration
public void SetIdle()
Events
| Edit this page View SourceBusyStateChanged
Event triggered when the busy state changes.
Declaration
public event EventHandler BusyStateChanged
Event Type
Type | Description |
---|---|
EventHandler |