CommissionPage

StockSharp.Xaml.Windows.Maui

Страница правил комиссии.

Наследует: ContentPage

Конструкторы

CommissionPage
public CommissionPage()
commissionPage = CommissionPage()

Создает новый CommissionPage.

Свойства

ViewModel
public CommissionViewModel ViewModel { get; }
value = commissionPage.ViewModel

Получает ViewModel.

Методы

AddRule
public void AddRule(CommissionRuleItemViewModel rule)
commissionPage.AddRule(rule)

Добавьте правило.

RemoveRule
public void RemoveRule(CommissionRuleItemViewModel rule)
commissionPage.RemoveRule(rule)

Удалите правило.

SetRuleTypes
public void SetRuleTypes(IEnumerable<Type> types)
commissionPage.SetRuleTypes(types)

Установите доступные типы правил.

События

AddRuleRequested
public event EventHandler<Type> AddRuleRequested
commissionPage.AddRuleRequested += handler

Событие возникает, когда запрашивается добавление правила.

Completed
public event EventHandler<bool> Completed
commissionPage.Completed += handler

Событие возникает после завершения.

RemoveRuleRequested
public event EventHandler<CommissionRuleItemViewModel> RemoveRuleRequested
commissionPage.RemoveRuleRequested += handler

Событие возникает, когда запрашивается удаление правила.