equal
deleted
inserted
replaced
|
1 using System; |
|
2 using System.Net; |
|
3 using System.Windows; |
|
4 using System.Windows.Controls; |
|
5 using System.Windows.Documents; |
|
6 using System.Windows.Ink; |
|
7 using System.Windows.Input; |
|
8 using System.Windows.Media; |
|
9 using System.Windows.Media.Animation; |
|
10 using System.Windows.Shapes; |
|
11 using Iri.Modernisation.BaseMVVM.Commands; |
|
12 using Iri.Modernisation.BaseMVVM.ViewModel; |
|
13 using Iri.Modernisation.Data.Models; |
|
14 namespace Iri.Modernisation.Controls.ViewModel |
|
15 { |
|
16 /// <summary> |
|
17 /// ViewModel du module de ClickMenu |
|
18 /// </summary> |
|
19 public class ClickMenuVM : BaseMVVM.ViewModel.ViewModel |
|
20 { |
|
21 /// <summary> |
|
22 /// |
|
23 /// </summary> |
|
24 private PolemicElement _selectedElement; |
|
25 public PolemicElement SelectedElement |
|
26 { |
|
27 get |
|
28 { |
|
29 return _selectedElement; |
|
30 } |
|
31 set |
|
32 { |
|
33 _selectedElement = value; |
|
34 OnPropertyChanged("SelectedElement"); |
|
35 } |
|
36 } |
|
37 public void test() |
|
38 { |
|
39 MessageBox.Show(SelectedElement.Title); |
|
40 } |
|
41 public ClickMenuVM() |
|
42 { |
|
43 InitializeCommands(); |
|
44 } |
|
45 private void InitializeCommands() |
|
46 { } |
|
47 } |
|
48 } |