Beispiel #1
0
 private void OnMenuSelectionChanged(object sender, SelectableItemSelectionChangedEventArgs e)
 {
     //if (StatusPanel == null)
     //{
     //    return;
     //}
     //var currItem = e.Current;
     //var title = currItem.Header;
     //StatusPanel.SetText("Current Session: ", new SolidColorBrush(Colors.YellowGreen));
     //StatusPanel.AddText(title, new SolidColorBrush(Colors.Orange));
 }
        private void OnMenuSelectionChanged(object sender, SelectableItemSelectionChangedEventArgs e)
        {
            if (_textPanel == null)
            {
                return;
            }
            var currItem = e.Current;
            var title    = currItem.Header;

            _textPanel.SetText("Current Session: ", new SolidColorBrush(Colors.YellowGreen));
            _textPanel.AddText(title, new SolidColorBrush(Colors.Orange));
        }