IndicatorPickerPage
StockSharp.Xaml.Windows.Maui
用于选择指标类型的页面。
继承自: ContentPage
构造函数
IndicatorPickerPage
public IndicatorPickerPage()
indicatorPickerPage = IndicatorPickerPage()
Creates a new IndicatorPickerPage.
属性
Indicators
public IList<IndicatorType> Indicators { get; }
value = indicatorPickerPage.Indicators
获取可用的指标类型。
SelectedIndicator
public IndicatorType SelectedIndicator { get; set; }
value = indicatorPickerPage.SelectedIndicator
indicatorPickerPage.SelectedIndicator = value
获取选中的指标类型。
ViewModel
public IndicatorPickerViewModel ViewModel { get; }
value = indicatorPickerPage.ViewModel
Gets the ViewModel.
方法
LoadIndicators
public void LoadIndicators(IIndicatorProvider provider)
indicatorPickerPage.LoadIndicators(provider)
从提供者装入指示器。
LoadIndicators
public void LoadIndicators(IEnumerable<IndicatorType> indicators)
indicatorPickerPage.LoadIndicators(indicators)
从收藏中装入指示器。
事件
IndicatorSelected
public event EventHandler<IndicatorType> IndicatorSelected
indicatorPickerPage.IndicatorSelected += handler
选择一个指标时提高。