C# Класс Microsoft.Phone.Controls.RecurringDaysPicker

Represents a control that allows the user to choose days of the week.
Наследование: ListPicker
Показать файл Открыть проект

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

Метод Описание
RecurringDaysPicker ( ) : System

Initializes a new instance of the RecurringDaysPicker control.

Защищенные методы

Метод Описание
SummarizeDaysOfWeek ( IList selection ) : string

Sumarizes a list of days into a shortened string representation. If all days, all weekdays, or all weekends are in the list, then the string includes the corresponding name rather than listing out all of those days separately. If individual days are listed, they are abreviated. If the list is null or empty, "only once" is returned.

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

Метод Описание
DaysOfWeekToString ( List daysList ) : string

Sumarizes a list of days into a shortened string representation. If all days, all weekdays, or all weekends are in the list, then the string includes the corresponding name rather than listing out all of those days separately. If individual days are listed, they are abreviated. If the list is empty, "only once" is returned.

HandleGroups ( List days, IEnumerable &unhandledDays ) : string

Finds a group (weekends, weekdays, every day) within a list of days and returns a string representing that group. Days that are not in a group are set in the unhandledDays out parameter.

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

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

Initializes a new instance of the RecurringDaysPicker control.
public RecurringDaysPicker ( ) : System
Результат System

SummarizeDaysOfWeek() защищенный Метод

Sumarizes a list of days into a shortened string representation. If all days, all weekdays, or all weekends are in the list, then the string includes the corresponding name rather than listing out all of those days separately. If individual days are listed, they are abreviated. If the list is null or empty, "only once" is returned.
protected SummarizeDaysOfWeek ( IList selection ) : string
selection IList The list of days. Can be empty or null.
Результат string