Gorgon
Show / Hide Table of Contents

Class ProgressPanelDisplay

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

Inheritance
object
ProgressPanelDisplay
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 ProgressPanelDisplay : IDisposable

Constructors

| Edit this page View Source

ProgressPanelDisplay(Control)

Initializes a new instance of the ProgressPanelDisplay class.

Declaration
public ProgressPanelDisplay(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