Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary1
{
    public class Programs : ObservableCollection<Program> , INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        private bool IsVisible = false;
        public bool isVisible
        {
            get { return this.IsVisible; }
            set {
                        this.IsVisible = value;
                        OnPropertyChanged("isVisible");
            }
        }

        private Channel Parent;
        public Channel parent
        {
            get { return this.Parent; }
            set
            {
                this.Parent = value;
                OnPropertyChanged("parent");
            }
        }



        protected void OnPropertyChanged(string name)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (handler != null)
            {
                handler(this, new PropertyChangedEventArgs(name));
            }
        }
    }
}

Commits for Nextrek/Windows8/GuidaTv/ClassLibrary1/Programs.cs

Diff revisions: vs.
Revision Author Commited Message
21 JMBauan picture JMBauan Wed 26 Jun, 2013 10:48:36 +0000