mauede
Well-known member
I would appreciate some help in implementing the following with WPF.
I need to have a ListBox displaying a list of strings but some may be empty strings.
Each ListBox item can be edited, discarded, or accepted.
Therefore, besides the editable ListBox I need some other type of WPF control that qualifies the status
of each item (string): "Edit / Discard / Accept" decided by the user.
I thought to use a Radio-Button for each ListBox but this type of control provides only two possible states.
If the ListBox items are editable, then I need only two states' control on each item: Discard / Accept.
Furthermore, all the ListBox items (strings) and their status must be available to the code behind when the user
clicks on a Button "Confirm". Only the strings that have "Accept" status, and are not empty, will be recorded to a database.
Many thanks in advance for your help
I need to have a ListBox displaying a list of strings but some may be empty strings.
Each ListBox item can be edited, discarded, or accepted.
Therefore, besides the editable ListBox I need some other type of WPF control that qualifies the status
of each item (string): "Edit / Discard / Accept" decided by the user.
I thought to use a Radio-Button for each ListBox but this type of control provides only two possible states.
If the ListBox items are editable, then I need only two states' control on each item: Discard / Accept.
Furthermore, all the ListBox items (strings) and their status must be available to the code behind when the user
clicks on a Button "Confirm". Only the strings that have "Accept" status, and are not empty, will be recorded to a database.
Many thanks in advance for your help