PortfolioPicker

StockSharp.Xaml

The visual component for Portfolio searching and selection.

Inherits: UserControl

Implements: IComponentConnector

Constructors

PortfolioPicker
public PortfolioPicker()
portfolioPicker = PortfolioPicker()

Initializes a new instance of the PortfolioPicker.

Properties

PortfolioFilter
public string PortfolioFilter { get; set; }
value = portfolioPicker.PortfolioFilter
portfolioPicker.PortfolioFilter = value

The current filter by the portfolios.

Portfolios
public PortfolioDataSource Portfolios { get; set; }
value = portfolioPicker.Portfolios
portfolioPicker.Portfolios = value

Available portfolios.

SelectedPortfolio
public Portfolio SelectedPortfolio { get; set; }
value = portfolioPicker.SelectedPortfolio
portfolioPicker.SelectedPortfolio = value

The selected portfolio.

Methods

InitializeComponent
public void InitializeComponent()
portfolioPicker.InitializeComponent()

InitializeComponent

Events

GridChanged
public event Action GridChanged
portfolioPicker.GridChanged += handler

The table change event.

PortfolioDoubleClicked
public event Action PortfolioDoubleClicked
portfolioPicker.PortfolioDoubleClicked += handler

Event of double-clicking the mouse on the selected Portfolio.

PortfolioSelected
public event Action PortfolioSelected
portfolioPicker.PortfolioSelected += handler

The selected Portfolio change events.