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
-
Within the source in
AddTokenAsync
the case is handled that theAutoSuggestBox
is not the last item.But the UI does not to allow that case.
To make the
TokenizingTextBox
fit for all thinkable usecases:IToken
CanBeAutoSuggestBox
getterTokenizingTextBox
to activate the conversion from displaying an Item implementing theIToken
interface andCanBeAutoSuggestBox
is true to the currentAutoSuggestBox
. Such asActivateAutoSuggestBoxForItem(IToken item)
CanBeAutoSuggestBox
as a TextBlock without being inside a butonActivateAutoSuggestBoxForItem
form within theItemClick
event handler to have edit that content. The programmers implementation can leave the result of such edits as anTextBlock
or convert it into a Token by settingCanBeAutoSuggestBox
to false.TokenizingTextBox
contains text and Tokens seamingly.Beta Was this translation helpful? Give feedback.
All reactions