Archive for the ‘WPF’ Category

How to create ContextMenu and MenuItem in WPF and XAML

WPF ContextMenu and MenuItem Control: It explains how to create ContextMenu and MenuItem at design time and run time, their properties such as adding image and event handling   ContextMenu is attached to a control and displayed at the right mouse click. ContextMenu contains a list of MenuItem, which represent the command or option on which user initiate an action or command. In this article I would discus how ... Full story

WPF Multithreading

  Sometime application has to perform long-running tasks. In a typical application, tasks are processed synchronously. When one task completes, the next begins execution, and this continues in a sequential fashion. So, what would happen to the UI while waiting for a long-running task to finish? Often the UI becomes unresponsive and may even freeze temporarily until a long-running task completes. This is referred to as blocking on ... Full story

Copyright © 2010 Way2solve. All rights reserved.