Create Application bar dynamically

view full story

http://stackoverflow.com – I want to create Application Bar dynamically in Windows Phone 8. I have used the following code to create application bar in appbar.cs file class AppBar { ApplicationBar appbar; this.appbar = new ApplicationBar(); this.appbar.IsVisible = true; this.appbar.Opacity = 1; this.appbar.Mode = ApplicationBarMode.Minimized; ApplicationBarIconButton appButon = new ApplicationBarIconButton(); appButon.IconUri = new Uri("/images/show.png", UriKind.Relative); appButon.Text = "Show"; this.appbar.But (HowTos)