Skip to content

SelectionPrompt/AddChoice use a Tree (put only the text) #550

Answered by DiagProf
DiagProf asked this question in Q&A
Discussion options

You must be logged in to vote

@nils-a Thank you for your prompt reply.

In my invented example, only the "Caterpillar D8T" and "Krauss-Maffei Leopard 2" vehicles can be rented. For the user (especially the newcomers) I would like to give a few more meta data (in the tree view) to get a feel for what kind of vehicle it is.

Could also think of network printers that are standing around somewhere in the company. And the metadata says where it is located in the company. After printing twice, the user no longer reads this and the root name is sufficient, e.g. "Brother MFC-7820N USB Printer"

but your idea would work if there was something like that

            var prompt = new SelectionPrompt<string>
            {
           …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@nils-a
Comment options

@DiagProf
Comment options

@nils-a
Comment options

@DiagProf
Comment options

Answer selected by DiagProf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants