TokenizingTextBox on steriods #4946
minesworld
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Within the source in
AddTokenAsyncthe case is handled that theAutoSuggestBoxis not the last item.But the UI does not to allow that case.
To make the
TokenizingTextBoxfit for all thinkable usecases:ITokenCanBeAutoSuggestBoxgetterTokenizingTextBoxto activate the conversion from displaying an Item implementing theITokeninterface andCanBeAutoSuggestBoxis true to the currentAutoSuggestBox. Such asActivateAutoSuggestBoxForItem(IToken item)CanBeAutoSuggestBoxas a TextBlock without being inside a butonActivateAutoSuggestBoxForItemform within theItemClickevent handler to have edit that content. The programmers implementation can leave the result of such edits as anTextBlockor convert it into a Token by settingCanBeAutoSuggestBoxto false.TokenizingTextBoxcontains text and Tokens seamingly.Beta Was this translation helpful? Give feedback.
All reactions