3
Answers

Show list with Bulleted numbers


Hello C# Corner,
           I have a requirement regarding a bulleted list in WPF, I have a source, which contains multiple records and each record contains one string field. How can I Show this List of record in a WPF control where the list must be sorted and each item must be followed by a the order number. Could anyone help me to do this.

List is
       Xdfdf
       Afff
       Cffgty
       Kffr
       FFC
       Zgfgfg  
       Boeghwer

the out put should be like this.
  1. Afff
  2. Boeghwer
  3. Cffgty
  4. FFC
  5. Kffr
  6. Xdfdf
  7. Zgfgfg  
Thanks
Salam   

Answers (3)