remove unused stuff
authorStricted <info@stricted.de>
Sun, 10 Jan 2016 11:15:38 +0000 (12:15 +0100)
committerStricted <info@stricted.de>
Sun, 10 Jan 2016 11:15:38 +0000 (12:15 +0100)
SpeedportHybridControl/PageModel/SyslogPageModel.cs
SpeedportHybridControl/page/SyslogPage.xaml

index f7586643f267ab4075ec02ded8f23c1a7b9ff0ae..f24bab26ea62ffe07a433e7bb278c95176363cac 100644 (file)
@@ -14,7 +14,6 @@ namespace SpeedportHybridControl.PageModel {
                private DelegateCommand _clearCommand;
 
                private string _searchText;
-               private SyslogList _selectedItems;
 
                private List<SyslogList> _syslogList;
                private List<SyslogList> _filteredList;
@@ -43,12 +42,6 @@ namespace SpeedportHybridControl.PageModel {
                        }
                }
 
-               public SyslogList SelectedItems
-               {
-                       get { return _selectedItems; }
-                       set { SetProperty(ref _selectedItems, value); }
-               }
-
                public List<SyslogList> syslogList {
                        get { return _syslogList; }
                        set {
index c04aaed554cf93e2ebf44a9d23966d10f51827d3..a5ea34c39640943018bd0b25fb40439bd3eddd31 100644 (file)
@@ -11,7 +11,7 @@
         <TextBlock HorizontalAlignment="Right" Margin="0,0,124,0" Text="Suche:" VerticalAlignment="Top"/>
         <TextBox x:Name="tbSearch" HorizontalAlignment="Right" VerticalAlignment="Top" Width="120" Text="{Binding Path=SearchText, UpdateSourceTrigger=PropertyChanged}"/>
 
-        <ListView ItemsSource="{Binding filteredList}" SelectedItem="{Binding Path=SelectedItems, UpdateSourceTrigger=PropertyChanged}" x:Name="listView" Margin="0,23,0,39">
+        <ListView ItemsSource="{Binding filteredList}" x:Name="listView" Margin="0,23,0,39">
             <ListBox.ItemContainerStyle>
                 <Style TargetType="{x:Type ListBoxItem}">
                     <Setter Property="IsSelected" Value="{Binding Mode=TwoWay, Path=IsSelected}"/>