// ********* DO NOT MODIFY THIS FILE ********* // This file is regenerated by a design tool. Making // changes to this file can cause errors. namespace Expression.Blend.SampleData.AwardSampleDataSource { using System; // To significantly reduce the sample data footprint in your production application, you can set // the DISABLE_SAMPLE_DATA conditional compilation constant and disable sample data at runtime. #if DISABLE_SAMPLE_DATA internal class records { } #else public class records : System.ComponentModel.INotifyPropertyChanged { public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged(string propertyName) { if (this.PropertyChanged != null) { this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } public records() { try { System.Uri resourceUri = new System.Uri("/WindowsPhoneApplication1;component/SampleData/AwardSampleDataSource/AwardSampleDataSource.xaml", System.UriKind.Relative); if (System.Windows.Application.GetResourceStream(resourceUri) != null) { System.Windows.Application.LoadComponent(this, resourceUri); } } catch (System.Exception) { } } private infoCollection _infoCollection = new infoCollection(); public infoCollection infoCollection { get { return this._infoCollection; } } } public class info : System.ComponentModel.INotifyPropertyChanged { public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged(string propertyName) { if (this.PropertyChanged != null) { this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } private string _name = string.Empty; public string name { get { return this._name; } set { if (this._name != value) { this._name = value; this.OnPropertyChanged("name"); } } } private string _title = string.Empty; public string title { get { return this._title; } set { if (this._title != value) { this._title = value; this.OnPropertyChanged("title"); } } } private string _imageurl = string.Empty; public string imageurl { get { return this._imageurl; } set { if (this._imageurl != value) { this._imageurl = value; this.OnPropertyChanged("imageurl"); } } } private string _description = string.Empty; public string description { get { return this._description; } set { if (this._description != value) { this._description = value; this.OnPropertyChanged("description"); } } } } public class infoCollection : System.Collections.ObjectModel.ObservableCollection<info> { } #endif }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)