/// <summary> /// Log Details Page /// </summary> /// <param name="logLevelToShow">Selecte Log level to show</param> public LogDetailsPage(eLogShowLevel logLevelToShow = eLogShowLevel.ALL) { InitializeComponent(); mLogLevel = logLevelToShow; GingerCore.General.FillComboFromEnumType(xLogTypeCombo, typeof(eLogShowLevel)); xLogTypeCombo.SelectedValue = mLogLevel; xLogTypeCombo.SelectionChanged += XLogTypeCombo_SelectionChanged; FillLogData(); xScrollViewer.ScrollToBottom(); }
private void XLogTypeCombo_SelectionChanged(object sender, SelectionChangedEventArgs e) { mLogLevel = (eLogShowLevel)xLogTypeCombo.SelectedValue; FillLogData(); }