WPF Interview Questions for Beginners & Advanced – Part 4

61. How can you obtain the SynchronizationContext class? You can use the static property SynchronizationContext.Current property from the UI thread. 62. How many methods are available in SynchronizationContext class? There are two methods: 63. What is the difference between Send and Post methods in SynchronizationContext class? Post method is asynchronous method …

WPF Interview Questions for Beginners & Advanced – Part 4 Read More
WPF

WPF Architecture

WPF is a successor of Windows Forms. Earlier Windows Forms uses the Windows Graphics Device Interface (GDI+) for rendering any graphics, and drawing text. WPF is a new framework for developing rich Windows smart client applications that uses the DirectX technology behind the scene. WPF is resolution-independent because WPF uses …

WPF Architecture Read More
C# / WPF

WPF BackgroundWorker

To build more responsive WPF UI, we have to use multiple threads that can work in the background and update the UI when the work completed. But background threads can’t access the objects created in the STA. Then how can we update the UI when the background threads completed their …

WPF BackgroundWorker Read More