You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ListBoxItem.cs 423 B

2 years ago
1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace HKCardManager
  7. {
  8. public class ListBoxItem
  9. {
  10. public string Text { set; get; }
  11. public Brush ForeColor { set; get; }
  12. public ListBoxItem(string text, Brush foreColor)
  13. {
  14. this.Text = text;
  15. this.ForeColor = foreColor;
  16. }
  17. }
  18. }