TaskDialogProgressBar.State Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the state of the progress bar.
public:
property System::Windows::Forms::TaskDialogProgressBarState State { System::Windows::Forms::TaskDialogProgressBarState get(); void set(System::Windows::Forms::TaskDialogProgressBarState value); };
public System.Windows.Forms.TaskDialogProgressBarState State { get; set; }
member this.State : System.Windows.Forms.TaskDialogProgressBarState with get, set
Public Property State As TaskDialogProgressBarState
Property Value
The state of the progress bar. The default is Normal, except if this instance is the default instance created by a TaskDialogPage, where the default value is None.
Exceptions
The property is set on a progress bar instance that is currently bound to a task dialog, but the value to be set is None. - or - The property is set on a progress bar instance that is currently bound to a task dialog, but it's not visible as its initial State property value was None. - or - The property is set on a progress bar instance that is currently bound to a task dialog, but the dialog has just started navigating to a different page.
Remarks
This control will only be shown if this property is not None.
This property can be set while the dialog is shown. However, while the dialog is shown, it is not possible to change the state from None to any other state, and vice versa.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기