C# 클래스 MahApps.Metro.Controls.Dialogs.ProgressDialogController

A class for manipulating an open ProgressDialog.
파일 보기 프로젝트 열기: MahApps/MahApps.Metro 1 사용 예제들

Private Properties

프로퍼티 타입 설명
PART_NegativeButton_Click void
ProgressDialogController System

공개 메소드들

메소드 설명
CloseAsync ( ) : System.Threading.Tasks.Task

Begins an operation to close the ProgressDialog.

SetCancelable ( bool value ) : void

Sets if the Cancel button is visible.

SetIndeterminate ( ) : void

Sets the ProgressBar's IsIndeterminate to true. To set it to false, call SetProgress.

SetMessage ( string message ) : void

Sets the dialog's message content.

SetProgress ( double value ) : void

Sets the dialog's progress bar value and sets IsIndeterminate to false.

SetTitle ( string title ) : void

Sets the dialog's title.

비공개 메소드들

메소드 설명
PART_NegativeButton_Click ( object sender, RoutedEventArgs e ) : void
ProgressDialogController ( ProgressDialog dialog, Func closeCallBack ) : System

메소드 상세

CloseAsync() 공개 메소드

Begins an operation to close the ProgressDialog.
public CloseAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SetCancelable() 공개 메소드

Sets if the Cancel button is visible.
public SetCancelable ( bool value ) : void
value bool
리턴 void

SetIndeterminate() 공개 메소드

Sets the ProgressBar's IsIndeterminate to true. To set it to false, call SetProgress.
public SetIndeterminate ( ) : void
리턴 void

SetMessage() 공개 메소드

Sets the dialog's message content.
public SetMessage ( string message ) : void
message string The message to be set.
리턴 void

SetProgress() 공개 메소드

Sets the dialog's progress bar value and sets IsIndeterminate to false.
public SetProgress ( double value ) : void
value double The percentage to set as the value.
리턴 void

SetTitle() 공개 메소드

Sets the dialog's title.
public SetTitle ( string title ) : void
title string The title to be set.
리턴 void