Quantcast
Channel: WPF – Nishant Rana's Weblog
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

Refresh ObservableCollection in WPF

ObservableCollection only provided notifications when we make any change in the collection itself like Adding or Removing an Item. If we update any properties of a contained class, it doesn’t raise any...

View Article



Image may be NSFW.
Clik here to view.

Using BackgroundWorker in a WPF Application

Just sharing a small app that demonstrates the use of BackgroundWorker in WPF. The app has two list boxes, one act as source of all the Process that needs to be processed and the other list box for the...

View Article

Image may be NSFW.
Clik here to view.

Using HierarchicalDataTemplate to bind TreeView in WPF

Just sharing a simple example that shows how to bind the XML data to TreeView using HierarchicalDataTemplate. Suppose this is our XML file named Packages.xml This is the XAML used <Window...

View Article

Image may be NSFW.
Clik here to view.

Creating dynamic ContextMenu for TreeView in WPF

Hi, Sharing a simple example wherein we are generating dynamic menuitems for the context menu based on the node or treeviewitem selected in the treeview. If root Packages is selected – If Package is...

View Article

Image may be NSFW.
Clik here to view.

Creating dynamic TabItem in WPF.

Hi, We recently had a requirement in our project to create dynamic TabItems something similar to below screen shot. Here every time when we click on Add View One and Add View Two buttons a new TabItem...

View Article


Image may be NSFW.
Clik here to view.

Adding a Close Context Menu to TabItem in WPF

Continuing the previous post https://nishantrana.wordpress.com/2012/04/08/creating-dynamic-tabitem-in-wpf/ let us add the Close Context menu to our TabItem. To do this we need to add the Context Menu...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images