I m using the following code
Expand|Select|Wrap|Line Numbers
- for (int a = 0; a <256; a++)
- {
- SymbolClass s = new SymbolClass ();
- //converting integer to respective asci characters
- s.Value = System.Convert.ToChar(a).ToString();
- SymbolList.Add(s);
- }
SymbolClass :user defined class with Value as a property within the class
I am binding the SymbolItem to ListboxItem in the Xaml form.
The problem I am facing here is: In the dialog the listboxitem displays junk characters. I am not sure how to handle it. Can anyone help? I have attached the screenshot