'Flyout for autocomplete in WinUI 3 TextBox

Can anyone explain what the ProofingMenuFlyout is for in WinUI 3 on a TextBox? The documentation for it is bare with no example on how to use it.

What I'm actually trying to do is create a popup menu much like the auto suggestion popup in the Visual Studio text editor that gives hints on methods etc. I.e. the one you can open with Ctrl+Space. I want this functionality inside a TextBox as a helper for when certain initial letters are written.

My initial though was to use some dynamic flyout that is opened from a TextChanged callback when a keyword is detected. Then I found this ProofingMenuFlyout that is rather undocumented and I can't figure out how to use, or what it is for.

Am I on the right track with using a menu flyout or should I consider some other way of doing it?



Solution 1:[1]

Can anyone explain what the ProofingMenuFlyout is for in WinUI 3 on a TextBox?

It is for spell checking.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kevin Gallahan