PortfolioEditor

StockSharp.Xaml.Grids.Maui

Portfolio editor control for MAUI with autocomplete functionality.

Inherits: ContentView

Constructors

PortfolioEditor()

Creates a new PortfolioEditor.

Properties

IsReadOnly : bool

Gets or sets whether the editor is read-only.

Placeholder : string

Gets or sets the placeholder text.

SelectedPortfolio : Portfolio

Gets or sets the selected portfolio.

ViewModel : PortfolioEditorViewModel

Gets the ViewModel.

Methods

AddPortfolio(Portfolio)

Adds a portfolio to the available list.

ClearPortfolios()

Clears all available portfolios.

RemovePortfolio(Portfolio)

Removes a portfolio from the available list.

SetPortfolios(IEnumerable<Portfolio>)

Sets the available portfolios for autocomplete.

Events

OpenPickerRequested : EventHandler

Raised when the full picker should be opened.

PortfolioChanged : EventHandler<Portfolio>

Raised when the selected portfolio changes.

Fields

IsReadOnlyProperty : BindableProperty

Is read only bindable property.

PlaceholderProperty : BindableProperty

Placeholder bindable property.

SelectedPortfolioProperty : BindableProperty

Selected portfolio bindable property.