Gorgon
Show / Hide Table of Contents

Class WaitPanelDisplay

Displays a wait panel on an application during long running operations.

Inheritance
object
WaitPanelDisplay
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public class WaitPanelDisplay : IDisposable

Constructors

| Edit this page View Source

WaitPanelDisplay(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 appForm parameter is null.

Methods

| Edit this page View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()
| Edit this page View Source

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.

Implements

IDisposable

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author