ProgressStatusBarView

StockSharp.Xaml.Windows.Maui

状态栏控件, 并显示 MAUI 的进展 。

继承自: ContentView

构造函数

ProgressStatusBarView
public ProgressStatusBarView()
progressStatusBarView = ProgressStatusBarView()

Creates a new ProgressStatusBarView.

属性

OpenText
public string OpenText { get; set; }
value = progressStatusBarView.OpenText
progressStatusBarView.OpenText = value

打开按钮文本 。

ProgressText
public string ProgressText { get; set; }
value = progressStatusBarView.ProgressText
progressStatusBarView.ProgressText = value

进度文本。

ProgressValue
public double ProgressValue { get; set; }
value = progressStatusBarView.ProgressValue
progressStatusBarView.ProgressValue = value

进度值 (0-100).

StatusText
public string StatusText { get; set; }
value = progressStatusBarView.StatusText
progressStatusBarView.StatusText = value

状态文本。

ViewModel
public ProgressStatusBarViewModel ViewModel { get; }
value = progressStatusBarView.ViewModel

获得观想相.

方法

StartProgress
public void StartProgress(string text)
progressStatusBarView.StartProgress(text)

开始显示进度 。

StopProgress
public void StopProgress()
progressStatusBarView.StopProgress()

显示进步的停止 。

UpdateProgress
public void UpdateProgress(double value, string text)
progressStatusBarView.UpdateProgress(value, text)

更新进度。

事件

OpenRequested
public event Action OpenRequested
progressStatusBarView.OpenRequested += handler

活动在要求开放时提出。

StopRequested
public event Action StopRequested
progressStatusBarView.StopRequested += handler

要求停机时提起的事件。