This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using GalaSoft.MvvmLight; | |
using LC_Points.Model; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
namespace LC_Points.ViewModel | |
{ | |
/// <summary> | |
/// This class contains properties that the main View can data bind to. | |
/// <para> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Text; | |
namespace LC_Points.Model | |
{ | |
public class Grade : INotifyPropertyChanged | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Application x:Class="LC_Points.App" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:LC_Points" | |
RequestedTheme="Light"> | |
<Application.Resources> | |
<vm:ViewModelLocator xmlns:vm="using:LC_Points.ViewModel" x:Key="Locator" /> | |
</Application.Resources> | |
</Application> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
In App.xaml: | |
<Application.Resources> | |
<vm:ViewModelLocator xmlns:vm="clr-namespace:LC_Points" | |
x:Key="Locator" /> | |
</Application.Resources> | |
In the View: | |
DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using LC_Points.ViewModel; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.InteropServices.WindowsRuntime; | |
using Windows.Foundation; | |
using Windows.Foundation.Collections; | |
using Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using GalaSoft.MvvmLight; | |
using LC_Points.Model; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
namespace LC_Points.ViewModel | |
{ | |
/// <summary> | |
/// This class contains properties that the main View can data bind to. | |
/// <para> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using GalaSoft.MvvmLight; | |
using GalaSoft.MvvmLight.Command; | |
using LC_Points.Model; | |
using System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Windows.Input; | |
using Windows.UI.Xaml.Controls; | |
using System.Linq; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page x:Class="LC_Points.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:Core="using:Microsoft.Xaml.Interactions.Core" | |
xmlns:Interactivity="using:Microsoft.Xaml.Interactivity" | |
xmlns:converter="using:LC_Points.Converter" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" | |
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" | |
xmlns:local="using:LC_Points" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Application x:Class="LC_Points.App" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:LC_Points.ViewModel" | |
RequestedTheme="Light"> | |
<Application.Resources> | |
<local:MainViewModel x:Key="Locator" /> | |
</Application.Resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
In App.xaml: | |
<Application.Resources> | |
<vm:ViewModelLocator xmlns:vm="clr-namespace:LC_Points" | |
x:Key="Locator" /> | |
</Application.Resources> | |
In the View: | |
DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}" |