I'm writing a Windows Phone 7 app and want to programmtically access my Application bar buttons when the page loads. But these always appear to be null. I've tried accessing the button in the following events:
- Page Contructor (after call to InitializeComponent)
- Page's `Loaded' event handler
- The Application Bars
StateChanged
event handler
There don't appear to be a Loaded
event on the individual buttons either. Am I breaking the rules here? Why can't I access the application bar buttons with c#?