Search found 10 matches

by peerlessDJ
25 Dec 2019, 12:57
Forum: General Discussion
Replies: 1
Views: 37

About Slider

In the Touch Screen, when Slider set property "IsMoveToPointEnabled" to True, it is difficult to slide by press Thumb, it‘s not display on WPF. By the way,it is default style, and i test it on XamlPlayer,
by peerlessDJ
25 Dec 2019, 04:17
Forum: General Discussion
Replies: 1
Views: 49

How to load image asynchronous?

Hi! l have a ListBox to display image, and 2MB per image. When xaml is loading, the UI Thread will block. I am a C# newer,soi found a solution in stackoverflow. https://stackoverflow.com/questions/16035300/make-wpf-image-load-async 1577243702(1).png 1577243721(1).png Those images are not loaded asyn...
by peerlessDJ
24 Dec 2019, 04:21
Forum: General Discussion
Replies: 1
Views: 29

About TextBox

1577157506(1).png
1577157534(1).png
1577157534(1).png (2.17 KiB) Viewed 29 times
this is a default style TextBox
by peerlessDJ
20 Dec 2019, 08:23
Forum: General Discussion
Replies: 1
Views: 36

Some doubt in FindData struct

I want to enumerate all files and folders in a directory, and i use some functions in <Find.h >, but in FindData struct, i can't distinguish file or folder.
Because it is a cross platform application, so i can't use Win32 API, and how to distinguish file or folder in Noesis API
by peerlessDJ
18 Dec 2019, 04:17
Forum: General Discussion
Replies: 1
Views: 26

[Question]Does ListBox have two Buttons default?

11.png
how to delete these buttons?
by peerlessDJ
22 Feb 2019, 04:13
Forum: General Discussion
Replies: 3
Views: 251

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: 251

About ObservableCollection (Help)

1.png
1.png (5.31 KiB) Viewed 251 times
2.png
2.png (23.43 KiB) Viewed 251 times
3.png
3.png (9.28 KiB) Viewed 251 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: 307

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 303 times
%KH{{E}F}3Q]Y9P53}RTL$T.png
by peerlessDJ
30 Jan 2019, 02:51
Forum: General Discussion
Replies: 4
Views: 307

Re: Chinese display not work nice

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

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