Comboboxes with strings
(Created page with "How do I create a combobox (drop down box) with a number of set strings? You use the Sequence operator to create a collection of strings which is used as a tuple in a...")
 
No edit summary
Line 2: Line 2:


You use the [[Sequence operator]] to create a collection of strings which is used as a [[tuple]] in a combo box.
You use the [[Sequence operator]] to create a collection of strings which is used as a [[tuple]] in a combo box.
[[File:Combobox with strings.png|none|thumb|476x476px]]
In the picture the "OrderColumnName" references a string variable in the viewmodel which is changed when the user selects an option.

Revision as of 10:01, 11 February 2021

How do I create a combobox (drop down box) with a number of set strings?

You use the Sequence operator to create a collection of strings which is used as a tuple in a combo box.

Combobox with strings.png

In the picture the "OrderColumnName" references a string variable in the viewmodel which is changed when the user selects an option.

This page was edited 96 days ago on 02/10/2024. What links here