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

Наследование: System.Windows.Controls.ItemsControl
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
IsInSelectionModeProperty System.Windows.DependencyProperty
ItemContainerStyleProperty System.Windows.DependencyProperty
ItemInfoTemplateProperty System.Windows.DependencyProperty

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

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

Initializes a new instance of the MultiselectList class.

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

Метод Описание
GetContainerForItemOverride ( ) : DependencyObject

Overrides the DependencyObject used by this ItemsControl to be a MultiselectItem.

IsItemItsOwnContainerOverride ( object item ) : bool

Acknowledges an item as being of the same type as its container if it is a MultiselectItem.

OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void

Unselects any selected item which was removed from the source.

PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Resets new or reused item containers appropiately.

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

Метод Описание
OnIsSelectionEnabledPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Opens or closes the selection mode accordingly. If closing, it unselects any selected item. Finally, it fires up an IsSelectionEnabledChanged event.

OnSelectionChanged ( IList removedItems, IList addedItems ) : void

Toogles the selection mode based on the count of selected items, and fires a SelectionChanged event.

TriggerSelection ( SelectionEnabledState state ) : void

Triggers the visual state changes and visual transitions to open or close the list to/from selection mode.

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

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

Overrides the DependencyObject used by this ItemsControl to be a MultiselectItem.
protected GetContainerForItemOverride ( ) : DependencyObject
Результат System.Windows.DependencyObject

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

Acknowledges an item as being of the same type as its container if it is a MultiselectItem.
protected IsItemItsOwnContainerOverride ( object item ) : bool
item object An item owned by the ItemsControl.
Результат bool

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

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

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

Unselects any selected item which was removed from the source.
protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs The event information.
Результат void

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

Resets new or reused item containers appropiately.
protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
Результат void

Описание свойств

IsInSelectionModeProperty публичное статическое свойство

Identifies the IsSelectionEnabled dependency property.
public static DependencyProperty,System.Windows IsInSelectionModeProperty
Результат System.Windows.DependencyProperty

ItemContainerStyleProperty публичное статическое свойство

Identifies the ItemContainerStyle dependency property.
public static DependencyProperty,System.Windows ItemContainerStyleProperty
Результат System.Windows.DependencyProperty

ItemInfoTemplateProperty публичное статическое свойство

Identifies the ItemInfoTemplate dependency property.
public static DependencyProperty,System.Windows ItemInfoTemplateProperty
Результат System.Windows.DependencyProperty