PortfolioEditor
StockSharp.Xaml.Grids.Maui
Portfolio editor control for MAUI with autocomplete functionality.
Наследует: ContentView
Конструкторы
PortfolioEditor()
Creates a new PortfolioEditor.
Свойства
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.
Методы
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.
События
OpenPickerRequested : EventHandler
Raised when the full picker should be opened.
PortfolioChanged : EventHandler<Portfolio>
Raised when the selected portfolio changes.
Поля
IsReadOnlyProperty : BindableProperty
Is read only bindable property.
PlaceholderProperty : BindableProperty
Placeholder bindable property.
SelectedPortfolioProperty : BindableProperty
Selected portfolio bindable property.