aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-25 14:13:28 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-25 14:13:28 +0300
commita7d1b350a7e6789942bd755f4a8dd48fb15a1a0a (patch)
tree1e0b202b176a05d0921c91e67a43221479525d6c /Software/Visual_Studio/Tango.Touch
parent4571fffeccd4b037553fdeb0ddaff8005de67f23 (diff)
downloadTango-a7d1b350a7e6789942bd755f4a8dd48fb15a1a0a.tar.gz
Tango-a7d1b350a7e6789942bd755f4a8dd48fb15a1a0a.zip
Batch import/export jobs.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchListBox.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchListBox.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchListBox.cs
index 87e7717be..4fa50b7e6 100644
--- a/Software/Visual_Studio/Tango.Touch/Controls/TouchListBox.cs
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchListBox.cs
@@ -138,8 +138,6 @@ namespace Tango.Touch.Controls
public static readonly DependencyProperty ScrollBarVisibilityProperty =
DependencyProperty.Register("ScrollBarVisibility", typeof(Visibility), typeof(TouchListBox), new PropertyMetadata(Visibility.Visible));
-
-
public String ValuePath
{
get { return (String)GetValue(ValuePathProperty); }
@@ -230,7 +228,7 @@ namespace Tango.Touch.Controls
}
}
- private List<TouchListBoxItem> GetItems()
+ public List<TouchListBoxItem> GetItems()
{
return _items_control.FindVisualChildren<TouchListBoxItem>().ToList();
}
@@ -299,6 +297,7 @@ namespace Tango.Touch.Controls
}
else
{
+ SelectedItem = item.DataContext;
ItemSelectedCommand?.Execute(item.DataContext);
}
}
@@ -360,5 +359,7 @@ namespace Tango.Touch.Controls
var element = ScrollViewer.FindVisualChildren<FrameworkElement>().FirstOrDefault(x => x.DataContext == item);
ScrollViewer.ScrollToElement(element);
}
+
+
}
}