Search found 5 matches

by peerlessDJ
22 Feb 2019, 04:13
Forum: General Discussion
Replies: 3
Views: 196

Re: About ObservableCollection (Help)

Hi, if I understand correctly, you are changing a property of an ExeShortcut item, so you need to notify of that property change, not that the whole collection of items changed. To do that your item has to implement INotifyPropertyChanged interface, and then call PropertyChanged delegate on the mod...
by peerlessDJ
20 Feb 2019, 03:47
Forum: General Discussion
Replies: 3
Views: 196

About ObservableCollection (Help)

1.png
1.png (5.31 KiB) Viewed 196 times
2.png
2.png (23.43 KiB) Viewed 196 times
3.png
3.png (9.28 KiB) Viewed 196 times
In Xaml, ObservableCollection is binded on ListBox. Now, i attempt to change property(eg filename) of one item, and call OnPropertyChanged, why this item is not changed
by peerlessDJ
30 Jan 2019, 06:35
Forum: General Discussion
Replies: 4
Views: 262

Re: Chinese display not work nice

Ok, gb2312 convert to utf8 , it works
5{0A`FFDTE6`}2~H5R$_K(N.png
5{0A`FFDTE6`}2~H5R$_K(N.png (6.74 KiB) Viewed 258 times
%KH{{E}F}3Q]Y9P53}RTL$T.png
by peerlessDJ
30 Jan 2019, 02:51
Forum: General Discussion
Replies: 4
Views: 262

Re: Chinese display not work nice

and the result
4.png
4.png (9.46 KiB) Viewed 261 times
by peerlessDJ
30 Jan 2019, 02:50
Forum: General Discussion
Replies: 4
Views: 262

Chinese display not work nice

In my sample, i use LocalFontProvider to import Chinese font
1.png
. if chinese in Xaml, it works, but if chinese in variable, it garbled.
2.png
3.png