Archive for the ‘WPF’ Category

Hi evereyone I’m back with a new post, here I had a requirement for displaying digital clock on my WPF application so have done some development with that respect.

The code for the same is written below:

Dynamically Creating Tabs in WPF

Posted: April 22, 2013 by Sagar Wasule in Asp.Net, Programming Concepts, WPF
Tags: ,

In one of my recent project which I undertook I had to create tabs dynamically in WPF.  The idea is that the user selects a menu item and a tab is created and populated with a user control.  Like so many things, WPF makes this easy.  The thing I struggled with the most was getting the user control to display when the first tab was created.  Below is a function that takes a user control and tab name, creates a tab, and shows it to the user.