C# 클래스 Microsoft.Phone.Controls.MultiselectList

상속: System.Windows.Controls.ItemsControl
파일 보기 프로젝트 열기: Kinnara/WPToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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