mercredi 13 novembre 2019

Winform - Not WPF - ListView Currency and Checkbox with C#

Does anyone know how to add a currency to a specific column in ListView, please? It is easy with WPF but my project is Win form.

CheckBox I used this code for checkbox, but it only shows checkbox in the first Column. I want it on 5th Column

listView1.CheckBoxes = true;

Currency I tried this but it is not good.

                ListViewItem viewItem = new ListViewItem(new string[]
                {

                    "£"+emailDetails.Total+".00"
                 });



Aucun commentaire:

Enregistrer un commentaire