Click here to Skip to main content
16,022,296 members

Comments by Member 15061773 (Top 37 by date)

Member 15061773 28-Jul-24 9:45am View    
Thank you very much sir, for having time to answer my question. I tried your solution but that does not give me any desirable result. What I actually want is to apply the DPI Scale in my app. I hope you see my above mention code in this question. Suppose my WPF app is ruining and at that moment I change the screen resolution (along with DPI) from Full HD (I develop this app in this resolution) to any other resolution like 1366*768, so what happening is my App is perfectly scaled and the UI is proportionally get bigger as expected. But the problem is when I close the app and start it again it's forget the previous scaling.

What can I do so that the app can remember the previous DPI Scaling? I tried a lot but did not find an authentic result according to my needs.

If you give me any solution then I am ready to accept your answer.
Member 15061773 7-Mar-23 10:58am View    
Thank you very much for your reply, I already asked this question with proper code in Microsoft question and answer forum.

Here is the link : https://learn.microsoft.com/en-us/answers/questions/1141456/how-to-refresh-combobox-items-at-runtime-when-comb

I can not understand what you saying by "You will probably need to define your own class which wraps the AudioDevice class". Any code guide will a great help.
Member 15061773 7-Mar-23 9:51am View    
Forgive me sir, Actually I am stuck here for almost 15 days. I don't mean that. You do enough help for me. Sorry.
Member 15061773 7-Mar-23 8:53am View    
Love the effort you put in to answer my question, but still I am unable to understand. I already asked this question with full code and proper explanation on Microsoft question and answer forum but I don't get any satisfied answer from there.

Here is the link : https://learn.microsoft.com/en-us/answers/questions/1141456/how-to-refresh-combobox-items-at-runtime-when-comb

Make sure that you read this question throughly, and give your decent code answer.
Member 15061773 7-Mar-23 7:15am View    
Again brilliant answer, I fully understand, ultimately what you say is option 2 is really better because observable collection will cascade to the ListCollectionView and automatically update the dropdown contents.

but any code guide on option 2? How can I declare an observable collection as itemsource for a ListCollectionView?

By the thank you very much for your crystal clear theory answer.