HelpToolbarExtensions

StockSharp.Broker.Maui.Backoffice.Pages

Glue between a page's BindingContext ViewModel (a BaseViewModel with an optional HelpSlug) and the global help drawer. Call ContentPage) from ContentPage constructors that want the "?" icon — the extension is a no-op when the VM doesn't expose a slug.

Методы

AttachHelpToolbar(ContentPage)

Adds a "?" ToolbarItem bound to the page's VM HelpSlug. Clicking it pushes HelpPopupPage modally. The toolbar item is left in place even if the slug changes later — the click handler reads the latest value on-the-fly so dynamic VMs still get the right doc.