OrderPage

StockSharp.Xaml.Windows.Maui

Page for creating/editing orders.

Inherits: ContentPage

Constructors

OrderPage
public OrderPage()
orderPage = OrderPage()

Creates a new OrderPage.

OrderPage
public OrderPage(Order order)
orderPage = OrderPage(order)

Creates an OrderPage with an existing order for editing.

Properties

Order
public Order Order { get; private set; }
value = orderPage.Order
orderPage.Order = value

Gets or sets the created order.

Portfolio
public Portfolio Portfolio { get; set; }
value = orderPage.Portfolio
orderPage.Portfolio = value

Gets or sets the selected portfolio.

PortfolioEnabled
public bool PortfolioEnabled { get; set; }
value = orderPage.PortfolioEnabled
orderPage.PortfolioEnabled = value

Gets or sets whether portfolio selection is enabled.

Portfolios
public IEnumerable<Portfolio> Portfolios { get; set; }
value = orderPage.Portfolios
orderPage.Portfolios = value

Gets or sets the portfolios source.

Securities
public IEnumerable<Security> Securities { get; set; }
value = orderPage.Securities
orderPage.Securities = value

Gets or sets the securities source.

Security
public Security Security { get; set; }
value = orderPage.Security
orderPage.Security = value

Gets or sets the selected security.

SecurityEnabled
public bool SecurityEnabled { get; set; }
value = orderPage.SecurityEnabled
orderPage.SecurityEnabled = value

Gets or sets whether security selection is enabled.

ViewModel
public OrderViewModel ViewModel { get; }
value = orderPage.ViewModel

Gets the ViewModel.

Methods

UpdateMarketData
public void UpdateMarketData(Level1ChangeMessage message)
orderPage.UpdateMarketData(message)

Updates market data.

Events

OrderSending
public event EventHandler<Order> OrderSending
orderPage.OrderSending += handler

Raised when an order is being sent.