0

I'm working on a WP8.1 app.

I have a circle in the appbar which is an button icon (transparent png).

Also I have a textbox on the screen of the app. When I enter a number in that text box can i show that number also in the middle of the circle in the appbar as well?

In other words can I have dynamic txt content in a WP8.1 app bar overlaid on top or bottom of a transparent Appbar button icon?

user247702
  • 23,641
  • 15
  • 110
  • 157
Ben
  • 93
  • 1
  • 5

1 Answers1

0

Yes you could have that number in that appbar. First you should get the value entered in the textbox using the Tag property. Then pass value to the Text property of the Appbar using the name you gave:

sampleAppBar.Text = //the value you get from the textbox

For more refer here:

Programatically changing the appbar icons

http://msdn.microsoft.com/library/windows/apps/hh394044(v=vs.105).aspx

Hope it helps!

Community
  • 1
  • 1
Kulasangar
  • 9,046
  • 5
  • 51
  • 82