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

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

공개 프로퍼티들

프로퍼티 타입 설명
ContentInfoProperty System.Windows.DependencyProperty
ContentInfoTemplateProperty System.Windows.DependencyProperty
HintPanelHeightProperty System.Windows.DependencyProperty
IsSelectedProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
Cover_Tap void
HintPanel_ManipulationCompleted void
HintPanel_ManipulationDelta void
HintPanel_ManipulationStarted void
OnContentInfoPropertyChanged void
OnContentInfoTemplatePropertyChanged void
OnHintPanelHeightPropertyChanged void
OnIsSelectedPropertyChanged void
RaiseEvent void
UpdateVisualState void

공개 메소드들

메소드 설명
MultiselectItem ( ) : System

Initializes a new instance of the MultiselectItem class.

OnApplyTemplate ( ) : void

Gets the template parts and sets event handlers.

보호된 메소드들

메소드 설명
OnContentInfoChanged ( object oldContentInfo, object newContentInfo ) : void

Called when the value of the ContentInfo property changes.

OnContentInfoTemplateChanged ( System.Windows.DataTemplate oldContentInfoTemplate, System.Windows.DataTemplate newContentInfoTemplate ) : void

Called when the value of the ContentInfoTemplate property chages.

OnSelected ( RoutedEventArgs e ) : void

Raises a Selected event when the IsSelected property changes from false to true.

OnUnselected ( RoutedEventArgs e ) : void

Raises an Unselected event when the IsSelected property changes from true to false.

비공개 메소드들

메소드 설명
Cover_Tap ( object sender, System e ) : void

Toogles the selection of a MultiselectItem and fires an OnSelectionChanged event accordingly.

HintPanel_ManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void

Selects this MultiselectItem if the manipulation delta is within limits and fires an OnSelectionChanged event accordingly. Resets the deltas for both axises.

HintPanel_ManipulationDelta ( object sender, System.Windows.Input.ManipulationDeltaEventArgs e ) : void

Triggers a visual transition to the Closed visual state if the manipulation delta goes out of bounds.

HintPanel_ManipulationStarted ( object sender, System.Windows.Input.ManipulationStartedEventArgs e ) : void

Triggers a visual transition to the Exposed visual state.

OnContentInfoPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

ContentInfoProperty changed handler.

OnContentInfoTemplatePropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

ContentInfoTemplate changed handler.

OnHintPanelHeightPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Sets the vertical alignment of the hint panels to stretch if the height is not manually set. If it is, the alignment is set to top.

OnIsSelectedPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Adds or removes the item to the selected items collection in the Multiselect List that owns it.

RaiseEvent ( RoutedEventHandler handler, RoutedEventArgs args ) : void

Raises a routed event.

UpdateVisualState ( bool useTransitions ) : void

Updates the visual state.

메소드 상세

MultiselectItem() 공개 메소드

Initializes a new instance of the MultiselectItem class.
public MultiselectItem ( ) : System
리턴 System

OnApplyTemplate() 공개 메소드

Gets the template parts and sets event handlers.
public OnApplyTemplate ( ) : void
리턴 void

OnContentInfoChanged() 보호된 메소드

Called when the value of the ContentInfo property changes.
protected OnContentInfoChanged ( object oldContentInfo, object newContentInfo ) : void
oldContentInfo object /// The old value of the ContentInfo property. ///
newContentInfo object /// The new value of the ContentInfo property. ///
리턴 void

OnContentInfoTemplateChanged() 보호된 메소드

Called when the value of the ContentInfoTemplate property chages.
protected OnContentInfoTemplateChanged ( System.Windows.DataTemplate oldContentInfoTemplate, System.Windows.DataTemplate newContentInfoTemplate ) : void
oldContentInfoTemplate System.Windows.DataTemplate /// The old value of the ContentInfoTemplate property. ///
newContentInfoTemplate System.Windows.DataTemplate /// The new value of the ContentInfoTemplate property. ///
리턴 void

OnSelected() 보호된 메소드

Raises a Selected event when the IsSelected property changes from false to true.
protected OnSelected ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs The event information.
리턴 void

OnUnselected() 보호된 메소드

Raises an Unselected event when the IsSelected property changes from true to false.
protected OnUnselected ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs The event information.
리턴 void

프로퍼티 상세

ContentInfoProperty 공개적으로 정적으로 프로퍼티

Identifies the ContentInfo dependency property.
public static DependencyProperty,System.Windows ContentInfoProperty
리턴 System.Windows.DependencyProperty

ContentInfoTemplateProperty 공개적으로 정적으로 프로퍼티

Identifies the ContentInfoTemplate dependency property.
public static DependencyProperty,System.Windows ContentInfoTemplateProperty
리턴 System.Windows.DependencyProperty

HintPanelHeightProperty 공개적으로 정적으로 프로퍼티

Identifies the HintPanelHeight dependency property.
public static DependencyProperty,System.Windows HintPanelHeightProperty
리턴 System.Windows.DependencyProperty

IsSelectedProperty 공개적으로 정적으로 프로퍼티

Identifies the IsSelected dependency property.
public static DependencyProperty,System.Windows IsSelectedProperty
리턴 System.Windows.DependencyProperty