C# Class Microsoft.Phone.Controls.LongListMultiSelectorItem

Inheritance: System.Windows.Controls.ContentControl
Datei anzeigen Open project: Kinnara/WPToolkit Class Usage Examples

Public Properties

Property Type Description
ContentInfoProperty System.Windows.DependencyProperty
ContentInfoTemplateProperty System.Windows.DependencyProperty
HintPanelHeightProperty System.Windows.DependencyProperty
IsSelectedProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
GotoState void
OnCoverTap void
OnHintPanelHeightPropertyChanged void
OnIsSelectedPropertyChanged void
OnSelectPanelManipulationCompleted void
OnSelectPanelManipulationDelta void
OnSelectPanelManipulationStarted void

Public Methods

Method Description
LongListMultiSelectorItem ( ) : System

Constructor

OnApplyTemplate ( ) : void

Template application : hooks events which need to be handled

Protected Methods

Method Description
OnContentChanged ( object oldContent, object newContent ) : void

Called when content is changed. This is a good place to get the style (which depends on the LLMS layout) because the control template has not yet been expanded.

OnHintPanelHeightChanged ( ) : 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.

OnIsSelectedChanged ( ) : void

Updates the visual state of the item

Private Methods

Method Description
GotoState ( State state, bool useTransitions = false ) : void

Changes the visual state of the item

OnCoverTap ( object sender, System e ) : void

Tap on the cover grid : switch the selected state

OnHintPanelHeightPropertyChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles the change of the HintPanelHeight property

OnIsSelectedPropertyChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called then the property is changed

OnSelectPanelManipulationCompleted ( object sender, System e ) : void

End of the manipulation, select the item

OnSelectPanelManipulationDelta ( object sender, System e ) : void

Checks that the manipulation is still in correct bounds

OnSelectPanelManipulationStarted ( object sender, System e ) : void

Triggers a visual transition to the Exposed visual state

Method Details

LongListMultiSelectorItem() public method

Constructor
public LongListMultiSelectorItem ( ) : System
return System

OnApplyTemplate() public method

Template application : hooks events which need to be handled
public OnApplyTemplate ( ) : void
return void

OnContentChanged() protected method

Called when content is changed. This is a good place to get the style (which depends on the LLMS layout) because the control template has not yet been expanded.
protected OnContentChanged ( object oldContent, object newContent ) : void
oldContent object
newContent object
return void

OnHintPanelHeightChanged() protected method

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.
protected OnHintPanelHeightChanged ( ) : void
return void

OnIsSelectedChanged() protected method

Updates the visual state of the item
protected OnIsSelectedChanged ( ) : void
return void

Property Details

ContentInfoProperty public_oe static_oe property

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

ContentInfoTemplateProperty public_oe static_oe property

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

HintPanelHeightProperty public_oe static_oe property

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

IsSelectedProperty public_oe static_oe property

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