C# Класс OIShoppingListWinPhone.DataModel.ShoppingList

Наследование: INotifyPropertyChanging, INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
NotifyPropertyChanged void
NotifyPropertyChanging void

Открытые методы

Метод Описание
FilterItemsCollection ( ) : void

Filter existing ListItems collection with corresponding application settings. If you filter your collection with this method - collection will be sorted automatically. To prevent doubling of sorting DON'T call SortItemsCollection method after it.

ShoppingList ( ) : System
SortItemsCollection ( ) : void

Sort existing ListItems collection with corresponding application settings

UpdateListStoreLabels ( ) : void
UpdateListTags ( ) : void

Updating ShoppingList.Tags property. Calls when the ShoppingList.ListItems collection was changed and it's necessary to update list of unique list tags

UpdatePrice ( ) : void

Public method for updating CheckedCount, CheckedPrice and TotalPrice. This method invokes when changing list items collection, items price and item status

Приватные методы

Метод Описание
NotifyPropertyChanged ( String propertyName ) : void
NotifyPropertyChanging ( String propertyName ) : void

Описание методов

FilterItemsCollection() публичный Метод

Filter existing ListItems collection with corresponding application settings. If you filter your collection with this method - collection will be sorted automatically. To prevent doubling of sorting DON'T call SortItemsCollection method after it.
public FilterItemsCollection ( ) : void
Результат void

ShoppingList() публичный Метод

public ShoppingList ( ) : System
Результат System

SortItemsCollection() публичный Метод

Sort existing ListItems collection with corresponding application settings
public SortItemsCollection ( ) : void
Результат void

UpdateListStoreLabels() публичный Метод

public UpdateListStoreLabels ( ) : void
Результат void

UpdateListTags() публичный Метод

Updating ShoppingList.Tags property. Calls when the ShoppingList.ListItems collection was changed and it's necessary to update list of unique list tags
public UpdateListTags ( ) : void
Результат void

UpdatePrice() публичный Метод

Public method for updating CheckedCount, CheckedPrice and TotalPrice. This method invokes when changing list items collection, items price and item status
public UpdatePrice ( ) : void
Результат void