Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Activating Bottom AppBar from Code behind in WinRT

Does anyone know of a way to activate the bottom AppBar from code-behind when we select a tile? I found this, but I could not find a C# equivalent. I've browsed around a bunch of samples but no luck

http://msdn.microsoft.com/en-us/library/windows/apps/br229676.aspx

like image 210
Jay Kannan Avatar asked Dec 10 '22 00:12

Jay Kannan


1 Answers

Setting IsOpen to true in XAML should be enough to make it visible when the page opens. If you want to set focus on the AppBar - it can only be done on a button click or key press event by calling appBar.Focus(FocusState.Programmatic).

like image 142
Filip Skakun Avatar answered Dec 28 '22 21:12

Filip Skakun