Feb 12 at 12:23 PM
Edited Feb 12 at 12:36 PM
|
Here's the scenario I am trying to implement:
In a pivot item, when user clicks on the 'New comment' app bar button, I need to replace it with 2 other buttons ('send' and 'attach').
Is it possible to achieve this with AppBarUtils?
Thanks!
|
|
Feb 12 at 3:07 PM
Edited Feb 12 at 3:08 PM
|
this is kind of urgent, I would appreciate a fast reply
|
|
Coordinator
Mar 5 at 8:39 AM
|
Sorry for the late response. Kind of busy these days.
The answer is yes. You can use the StateChangedTrigger together with SwitchAppBarAction. Refer to How to show different app bar for different page state? for the code sample. Basically you can think of the page containing two states, one with the 'new comment' button, the other with 'send' and 'attach'. Then you can have the 'new comment' button to trigger a state change.
|
|