Show / Hide Table of Contents

Interface IProgressDialog

Define una serie de miembros a implementar por un tipo que provea de funcionalidad de reporte de progreso de una operación en un cuadro de diálogo nativo de Microsoft Windows.

Namespace: TheXDS.MCART.Helpers
Assembly: MCART.Windows.dll
Syntax
public interface IProgressDialog

Properties

| Edit this page View Source

AutoClose

Obtiene o establece un valor que indica si el diálogo debe cerrarse automáticamente al alcanzar un progreso del 100%.

Declaration
bool AutoClose { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

CancelMessage

Obtiene o establece el mensaje a mostrar cuando se solicita la cancelación de la operación en progreso.

Declaration
string CancelMessage { get; set; }
Property Value
Type Description
string
| Edit this page View Source

CompactPaths

Obtiene o establece un valor que indica si se deben compactar las líneas de texto en caso que superen el ancho disponible en el diálogo.

Declaration
bool CompactPaths { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

HasUserCancelled

Obtiene un valor que indica si se ha solicitado la cancelación de la operación actualmente en curso.

Declaration
bool HasUserCancelled { get; }
Property Value
Type Description
bool
| Edit this page View Source

Line1

Obtiene o establece el valor de la tercera línea de texto del cuadro de diálogo.

Declaration
string Line1 { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Line2

Obtiene o establece el valor de la segunda línea de texto del cuadro de diálogo.

Declaration
string Line2 { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Line3

Obtiene o establece el valor de la primera línea de texto del cuadro de diálogo.

Declaration
string Line3 { get; set; }
Property Value
Type Description
string
Exceptions
Type Condition
InvalidOperationException

Se produce si se intenta establecer el valor de esta línea cuando el diálogo ha sido configurado para mostrar el tiempo restante en la tercera línea.

| Edit this page View Source

Maximum

Obtiene o establece el valor que representa el máximo en la barra de progreso del diálogo.

Declaration
int Maximum { get; set; }
Property Value
Type Description
int
| Edit this page View Source

Title

Obtiene o establece el título del diálogo.

Declaration
string Title { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Value

Obtiene o establece el valor actual de progreso del diálobo.

Declaration
int Value { get; set; }
Property Value
Type Description
int

Methods

| Edit this page View Source

Close()

Cierra el diálogo de progreso de operación.

Declaration
void Close()
| Edit this page View Source

Pause()

Indica que la operación ha sido pausada.

Declaration
void Pause()
| Edit this page View Source

Resume()

Indica que una operación previamente pausada continuará.

Declaration
void Resume()

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX