Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Net;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Documents;
- using System.Windows.Ink;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Animation;
- using System.Windows.Shapes;
- using System.ComponentModel;
- namespace Paresh.Utils
- {
- public class RootPageItem : INotifyPropertyChanged
- {
- private string iTitle = String.Empty;
- private string iIsParent = String.Empty;
- private string iContent= string.Empty;
- public string Title
- {
- get
- {
- return this.iTitle;
- }
- set
- {
- this.iTitle = value;
- NotifyPropertyChanged(iTitle);
- }
- }
- public string isParent {
- get
- {
- return this.iIsParent;
- }
- set
- {
- this.iIsParent = value;
- NotifyPropertyChanged(iIsParent);
- }
- }
- public string content
- {
- get
- {
- return iContent
- }
- set
- {
- this.iContent = value;
- NotifyPropertyChanged(iContent);
- }
- }
- public event PropertyChangedEventHandler PropertyChanged;
- private void NotifyPropertyChanged(String info)
- {
- PropertyChangedEventHandler handler = this.PropertyChanged;
- if (handler != null)
- {
- handler(this, new PropertyChangedEventArgs(info));
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement