Struct ProgressDialogProperties
Provides information about the properties used when initializing a new native Microsoft Windows progress dialog.
Implements
Inherited Members
Namespace: TheXDS.MCART.Helpers
Assembly: MCART.Windows.dll
Syntax
[ExcludeFromCodeCoverage]
public readonly record struct ProgressDialogProperties : IEquatable<ProgressDialogProperties>
Constructors
| Edit this page View SourceProgressDialogProperties(bool, bool, bool, bool, bool, bool)
Provides information about the properties used when initializing a new native Microsoft Windows progress dialog.
Declaration
public ProgressDialogProperties(bool CancelButton, bool Marquee, bool MinimizeButton, bool Modal, bool ProgressBar = true, bool ShowTimeRemaining = true)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | CancelButton | Indicates whether the dialog should contain a cancel button. |
| bool | Marquee | Indicates whether the dialog's progress bar should display in an indeterminate marquee state. |
| bool | MinimizeButton | Indicates whether the dialog should include a minimize button. |
| bool | Modal | Indicates whether the dialog should be displayed modally. |
| bool | ProgressBar | Indicates whether the dialog should contain a progress bar. |
| bool | ShowTimeRemaining | Indicates whether the remaining time of the operation should be shown in the dialog's third line. |
Properties
| Edit this page View SourceCancelButton
Indicates whether the dialog should contain a cancel button.
Declaration
public bool CancelButton { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Marquee
Indicates whether the dialog's progress bar should display in an indeterminate marquee state.
Declaration
public bool Marquee { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
MinimizeButton
Indicates whether the dialog should include a minimize button.
Declaration
public bool MinimizeButton { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Modal
Indicates whether the dialog should be displayed modally.
Declaration
public bool Modal { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
ProgressBar
Indicates whether the dialog should contain a progress bar.
Declaration
public bool ProgressBar { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowTimeRemaining
Indicates whether the remaining time of the operation should be shown in the dialog's third line.
Declaration
public bool ShowTimeRemaining { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |