ProgressStatusBar
StockSharp.Xaml
显示文本和停止/打开按钮进度的状态栏控制 。
继承自: StatusBarControl
构造函数
ProgressStatusBar
public ProgressStatusBar()
progressStatusBar = ProgressStatusBar()
Create ProgressStatusBar.
属性
OpenCommand
public ICommand OpenCommand { get; set; }
value = progressStatusBar.OpenCommand
progressStatusBar.OpenCommand = value
命令打开输出 。
OpenText
public string OpenText { get; set; }
value = progressStatusBar.OpenText
progressStatusBar.OpenText = value
打开按钮的文本(e.g., “打开文件夹 ”) 。
ProgressText
public string ProgressText { get; set; }
value = progressStatusBar.ProgressText
progressStatusBar.ProgressText = value
进度栏内显示进度文本 。
ProgressValue
public double ProgressValue { get; set; }
value = progressStatusBar.ProgressValue
progressStatusBar.ProgressValue = value
进度值 (0-100).
StatusText
public string StatusText { get; set; }
value = progressStatusBar.StatusText
progressStatusBar.StatusText = value
状态栏中显示的状态文本 。
StopCommand
public ICommand StopCommand { get; set; }
value = progressStatusBar.StopCommand
progressStatusBar.StopCommand = value
命令停止行动
方法
InitializeComponent
public void InitializeComponent()
progressStatusBar.InitializeComponent()
InitializeComponent
字段
OpenCommandProperty
public static readonly DependencyProperty OpenCommandProperty
value = ProgressStatusBar.OpenCommandProperty
DependencyProperty 为OpenCommand.
OpenTextProperty
public static readonly DependencyProperty OpenTextProperty
value = ProgressStatusBar.OpenTextProperty
DependencyProperty 为OpenText.
ProgressTextProperty
public static readonly DependencyProperty ProgressTextProperty
value = ProgressStatusBar.ProgressTextProperty
DependencyProperty 为ProgressText.
ProgressValueProperty
public static readonly DependencyProperty ProgressValueProperty
value = ProgressStatusBar.ProgressValueProperty
DependencyProperty 为ProgressValue.
StatusTextProperty
public static readonly DependencyProperty StatusTextProperty
value = ProgressStatusBar.StatusTextProperty
DependencyProperty 为StatusText.
StopCommandProperty
public static readonly DependencyProperty StopCommandProperty
value = ProgressStatusBar.StopCommandProperty
DependencyProperty 为StopCommand.