Interface IChartDrawingsCollection

    Access to the chart drawingsCollection collection

    Namespace: TradingPlatform.BusinessLayer.Chart
    Syntax
    public interface IChartDrawingsCollection

    Methods

    Add(IDrawing)

    Add chart drawing to the collection

    Declaration
    void Add(IDrawing drawing)
    Parameters
    Type Name Description
    IDrawing drawing

    FindById(string)

    Get chart drawing by ID

    Declaration
    IDrawing FindById(string drawingId)
    Parameters
    Type Name Description
    string drawingId
    Returns
    Type Description
    IDrawing

    GetAll(Symbol)

    Get all chart drawingsCollection assigned to specified symbol

    Declaration
    List<IDrawing> GetAll(Symbol symbol = null)
    Parameters
    Type Name Description
    Symbol symbol
    Returns
    Type Description
    List<IDrawing>

    Remove(IDrawing)

    Remove specified chart drawing from collection

    Declaration
    void Remove(IDrawing drawing)
    Parameters
    Type Name Description
    IDrawing drawing

    Events

    Added

    The Added events occured, when new chart drawing was added to collection

    Declaration
    event Action<DrawingEventArgs> Added
    Event Type
    Type Description
    Action<DrawingEventArgs>

    Moved

    The Moved events occured, when chart drawing was moved

    Declaration
    event Action<DrawingEventArgs> Moved
    Event Type
    Type Description
    Action<DrawingEventArgs>

    Removed

    The Removed events occured, when chart drawing was removed from the collection

    Declaration
    event Action<DrawingEventArgs> Removed
    Event Type
    Type Description
    Action<DrawingEventArgs>

    SelectionChanged

    The SelectionChanged events occured, when selected chart drawing was changed

    Declaration
    event Action<DrawingSelectionEventArgs> SelectionChanged
    Event Type
    Type Description
    Action<DrawingSelectionEventArgs>
    Back to top Copyright QUANTOWER LLC. © 2017-2023. All rights reserved.