IndicatorDoubleClickHandler
StockSharp.Xaml.Diagram.Controls
Chooses the indicator of an indicator element in the indicator picker, as the WPF diagram does; the indicators of a strategy that runs stay as they are.
构造函数
IndicatorDoubleClickHandler
public IndicatorDoubleClickHandler(Func<IEnumerable<IndicatorType>> indicatorTypes)
indicatorDoubleClickHandler = IndicatorDoubleClickHandler(indicatorTypes)
Initializes a new instance of the IndicatorDoubleClickHandler.
- indicatorTypes
- The indicators the picker offers, asked for when it opens.
方法
ProcessAsync
public Task ProcessAsync(DiagramElement element, Control owner)
result = indicatorDoubleClickHandler.ProcessAsync(element, owner)
Processes an activated element.
- element
- The activated diagram element.
- owner
- The control the element was activated in; a window the handler shows is owned by its window.
返回值: Task