private void Button_Click_EnablebenchmarkedOnly(object sender, RoutedEventArgs e) { DeviceActionsButtonContext.IsOpen = false; _deviceData.EnablebenchmarkedOnly(); }