ProgressStatusBar
StockSharp.Xaml
Панель состояния для отображения прогресса с помощью текста и кнопок остановки/открытия.
Наследует: StatusBarControl
Реализует: IComponentConnector
Конструкторы
ProgressStatusBar
public ProgressStatusBar()
progressStatusBar = ProgressStatusBar()
Создайте 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.