Exemplo n.º 1
0
 public ContentView()
 {
     this.Loaded += (s, e) => TopScroller.InitializeScrollViewer(ContentListView);
     this.InitializeComponent();
     ViewModel        = new ContentViewmodel();
     this.DataContext = ViewModel;
     this.Unloaded   += (s, e) => TopScroller.Dispose();
 }
Exemplo n.º 2
0
 public SourceCodeView()
 {
     this.Loaded += (s, e) => TopScroller.InitializeScrollViewer(ContentListView);
     this.InitializeComponent();
     ViewModel           = new SourceCodeViewmodel();
     this.DataContext    = ViewModel;
     this.Unloaded      += (s, e) => TopScroller.Dispose();
     NavigationCacheMode = NavigationCacheMode.Required;
 }
Exemplo n.º 3
0
 public ContentView()
 {
     Loaded += (s, e) =>
     {
         TopScroller.InitializeScrollViewer(ContentListView);
     };
     InitializeComponent();
     ViewModel   = new ContentViewmodel();
     DataContext = ViewModel;
     Unloaded   += (s, e) =>
     {
         TopScroller.Dispose();
     };
 }