namespace GDNXFD.Alert.Config.Views { using GalaSoft.MvvmLight.Command; using GDNXFD.Alert.Config.Helpers; using GDNXFD.Alert.Config.ViewModel; using System.Windows.Controls; /// /// Interaction logic for TravelList.xaml /// public partial class RuleList : UserControl { /// /// Travel List constructor /// public RuleList() { InitializeData(); InitializeComponent(); } private void InitializeData() { var vm = ViewModelLocator.Instance.RuleList;// (RuleListViewModel)this.DataContext; vm.InitializeData(); this.DataContext = vm; } private void TextBoxKeyboard_LostFocus(object sender, System.Windows.RoutedEventArgs e) { TabtipHelper tabtipHelper = TabtipHelper.Instance; tabtipHelper.TryKillTabtipProcess(); } } }