예제 #1
0
        private void AddRowButton_Click(object sender, RoutedEventArgs e)
        {
            var entry = new EntryModel
            {
                EntryKey     = "",
                EntryValue   = "",
                EntryDate    = DateTime.Now,
                EntryDateRaw = 0
            };

            _model.VaultCollection.Add(entry);
            MainGrid.GetVisualContainer().ScrollOwner.ScrollToEnd();
            MainGrid.SelectedItem = entry;
            _dataChanged          = true;
        }