aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.UITests
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2020-04-06 18:07:11 +0200
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2020-04-06 18:07:11 +0200
commit7f58e70e72f9704884f38d4d7c1809e8b0bbc10a (patch)
tree6401fa0dc1887cbdba147b68e14ad6336b46e41e /Software/Visual_Studio/Utilities/Tango.UITests
parentbbf906164e6208680f8b1c8c1a6007c4a2630e27 (diff)
downloadTango-7f58e70e72f9704884f38d4d7c1809e8b0bbc10a.tar.gz
Tango-7f58e70e72f9704884f38d4d7c1809e8b0bbc10a.zip
MultiSelectionComboBox control. Added scroll, open popup on focus textbox.
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.UITests')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.UITests/MainWindow.xaml.cs16
1 files changed, 14 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.UITests/MainWindow.xaml.cs b/Software/Visual_Studio/Utilities/Tango.UITests/MainWindow.xaml.cs
index cc0c04a42..5bfc943e0 100644
--- a/Software/Visual_Studio/Utilities/Tango.UITests/MainWindow.xaml.cs
+++ b/Software/Visual_Studio/Utilities/Tango.UITests/MainWindow.xaml.cs
@@ -39,24 +39,36 @@ using TableDependency.SqlClient.Base.Abstracts;
using Tango.Core.Components;
using System.Text.RegularExpressions;
using Tango.SharedUI.Controls;
+using System.ComponentModel;
namespace Tango.UITests
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
- public partial class MainWindow : Window
+ public partial class MainWindow : Window, INotifyPropertyChanged
{
private ObservableCollection<object> _selectedItems;
public ObservableCollection<object> SelectedItems
{
get { return _selectedItems; }
- set { _selectedItems = value; }
+ set { _selectedItems = value; RaisePropertyChanged("SelectedItems"); }
}
private ObservableCollection<string> _items;
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ /// <summary>
+ /// Raises the property changed event.
+ /// </summary>
+ /// <param name="propName">Name of the property.</param>
+ protected virtual void RaisePropertyChanged(String propName)
+ {
+ PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propName));
+ }
+
public ObservableCollection<string> Items
{
get { return _items; }