C# Class Microsoft.Phone.Controls.ListPicker

Inheritance: System.Windows.Controls.ItemsControl
Afficher le fichier Open project: nokiadatagathering/WP7-Official Class Usage Examples

Méthodes publiques

Свойство Type Description
ExpansionModeProperty System.Windows.DependencyProperty
FullModeHeaderProperty System.Windows.DependencyProperty
FullModeItemTemplateProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty
ItemCountThresholdProperty System.Windows.DependencyProperty
ListPickerModeProperty System.Windows.DependencyProperty
PickerPageUriProperty System.Windows.DependencyProperty
SelectedIndexProperty System.Windows.DependencyProperty
SelectedItemProperty System.Windows.DependencyProperty
SelectedItemsProperty System.Windows.DependencyProperty
SelectionModeProperty System.Windows.DependencyProperty
SummaryForSelectedItemsDelegateProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
ClosePickerPage void
IsValidManipulation bool
OnContainerTap void
OnFrameManipulationStarted void
OnFrameNavigated void
OnFrameNavigationStoppedOrFailed void
OnIsEnabledChanged void
OnIsEnabledChanged void
OnIsHighlightedChanged void
OnIsHighlightedChanged void
OnItemCountThresholdChanged void
OnItemCountThresholdChanged void
OnItemsPresenterHostParentSizeChanged void
OnListPickerItemSizeChanged void
OnListPickerModeChanged void
OnListPickerModeChanged void
OnLoaded void
OnPageBackKeyPress void
OnSelectedIndexChanged void
OnSelectedIndexChanged void
OnSelectedItemChanged void
OnSelectedItemChanged void
OnSelectedItemsChanged void
OnSelectedItemsChanged void
OnSelectionModeChanged void
OnSelectionModeChanged void
OnShadowOrFullModeItemTemplateChanged void
OnShadowOrFullModeItemTemplateChanged void
OnUnloaded void
OpenPickerPage void
SetContentHeight void
SizeForAppropriateView void
SizeForExpandedMode void
SizeForNormalMode void
UpdateSummary void
UpdateVisualStates void

Méthodes publiques

Méthode Description
ListPicker ( ) : System

Initializes a new instance of the ListPicker class.

OnApplyTemplate ( ) : void

Builds the visual tree for the control when a new template is applied.

Open ( ) : bool

Opens the picker for selection either into Expanded or Full mode depending on the picker's state.

Méthodes protégées

Méthode Description
ClearContainerForItemOverride ( DependencyObject element, object item ) : void

Undoes the effects of the PrepareContainerForItemOverride method.

GetContainerForItemOverride ( ) : DependencyObject

Creates or identifies the element used to display a specified item.

IsItemItsOwnContainerOverride ( object item ) : bool

Determines if the specified item is (or is eligible to be) its own item container.

OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void

Provides handling for the ItemContainerGenerator.ItemsChanged event.

OnManipulationCompleted ( System.Windows.Input.ManipulationCompletedEventArgs e ) : void

Called when the ManipulationCompleted event occurs.

OnManipulationDelta ( System.Windows.Input.ManipulationDeltaEventArgs e ) : void

Called when the ManipulationDelta event occurs.

OnManipulationStarted ( System.Windows.Input.ManipulationStartedEventArgs e ) : void

Called when the ManipulationStarted event occurs.

OnTap ( System e ) : void

Handles the tap event.

PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Prepares the specified element to display the specified item.

Private Methods

Méthode Description
ClosePickerPage ( ) : void
IsValidManipulation ( object OriginalSource, Point p ) : bool
OnContainerTap ( object sender, System e ) : void
OnFrameManipulationStarted ( object sender, System.Windows.Input.ManipulationStartedEventArgs e ) : void
OnFrameNavigated ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
OnFrameNavigationStoppedOrFailed ( object sender, EventArgs e ) : void
OnIsEnabledChanged ( ) : void

Enabled property changed

OnIsEnabledChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Enabled property changed

OnIsHighlightedChanged ( ) : void

Highlight property changed

OnIsHighlightedChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Highlight property changed

OnItemCountThresholdChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemCountThresholdChanged ( int newValue ) : void
OnItemsPresenterHostParentSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnListPickerItemSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnListPickerModeChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnListPickerModeChanged ( ListPickerMode oldValue, ListPickerMode newValue ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnPageBackKeyPress ( object sender, CancelEventArgs e ) : void
OnSelectedIndexChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedIndexChanged ( int oldValue, int newValue ) : void
OnSelectedItemChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedItemChanged ( object oldValue, object newValue ) : void
OnSelectedItemsChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedItemsChanged ( IList oldValue, IList newValue ) : void
OnSelectionModeChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectionModeChanged ( SelectionMode newValue ) : void
OnShadowOrFullModeItemTemplateChanged ( ) : void
OnShadowOrFullModeItemTemplateChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnUnloaded ( object sender, RoutedEventArgs e ) : void
OpenPickerPage ( ) : void
SetContentHeight ( double height ) : void
SizeForAppropriateView ( bool animate ) : void
SizeForExpandedMode ( ) : void
SizeForNormalMode ( bool animate ) : void
UpdateSummary ( IList newValue ) : void
UpdateVisualStates ( bool useTransitions ) : void

Method Details

ClearContainerForItemOverride() protected méthode

Undoes the effects of the PrepareContainerForItemOverride method.
protected ClearContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject The container element.
item object The item.
Résultat void

GetContainerForItemOverride() protected méthode

Creates or identifies the element used to display a specified item.
protected GetContainerForItemOverride ( ) : DependencyObject
Résultat System.Windows.DependencyObject

IsItemItsOwnContainerOverride() protected méthode

Determines if the specified item is (or is eligible to be) its own item container.
protected IsItemItsOwnContainerOverride ( object item ) : bool
item object The specified item.
Résultat bool

ListPicker() public méthode

Initializes a new instance of the ListPicker class.
public ListPicker ( ) : System
Résultat System

OnApplyTemplate() public méthode

Builds the visual tree for the control when a new template is applied.
public OnApplyTemplate ( ) : void
Résultat void

OnItemsChanged() protected méthode

Provides handling for the ItemContainerGenerator.ItemsChanged event.
protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs A NotifyCollectionChangedEventArgs that contains the event data.
Résultat void

OnManipulationCompleted() protected méthode

Called when the ManipulationCompleted event occurs.
protected OnManipulationCompleted ( System.Windows.Input.ManipulationCompletedEventArgs e ) : void
e System.Windows.Input.ManipulationCompletedEventArgs Event data for the event.
Résultat void

OnManipulationDelta() protected méthode

Called when the ManipulationDelta event occurs.
protected OnManipulationDelta ( System.Windows.Input.ManipulationDeltaEventArgs e ) : void
e System.Windows.Input.ManipulationDeltaEventArgs Event data for the event.
Résultat void

OnManipulationStarted() protected méthode

Called when the ManipulationStarted event occurs.
protected OnManipulationStarted ( System.Windows.Input.ManipulationStartedEventArgs e ) : void
e System.Windows.Input.ManipulationStartedEventArgs Event data for the event.
Résultat void

OnTap() protected méthode

Handles the tap event.
protected OnTap ( System e ) : void
e System Event args
Résultat void

Open() public méthode

Opens the picker for selection either into Expanded or Full mode depending on the picker's state.
public Open ( ) : bool
Résultat bool

PrepareContainerForItemOverride() protected méthode

Prepares the specified element to display the specified item.
protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject The element used to display the specified item.
item object The item to display.
Résultat void

Property Details

ExpansionModeProperty public_oe static_oe property

Identifies the ExpansionMode DependencyProperty.
public static DependencyProperty,System.Windows ExpansionModeProperty
Résultat System.Windows.DependencyProperty

FullModeHeaderProperty public_oe static_oe property

Identifies the FullModeHeader DependencyProperty.
public static DependencyProperty,System.Windows FullModeHeaderProperty
Résultat System.Windows.DependencyProperty

FullModeItemTemplateProperty public_oe static_oe property

Identifies the FullModeItemTemplate DependencyProperty.
public static DependencyProperty,System.Windows FullModeItemTemplateProperty
Résultat System.Windows.DependencyProperty

HeaderProperty public_oe static_oe property

Identifies the Header DependencyProperty.
public static DependencyProperty,System.Windows HeaderProperty
Résultat System.Windows.DependencyProperty

HeaderTemplateProperty public_oe static_oe property

Identifies the HeaderTemplate DependencyProperty.
public static DependencyProperty,System.Windows HeaderTemplateProperty
Résultat System.Windows.DependencyProperty

ItemCountThresholdProperty public_oe static_oe property

Identifies the ItemCountThreshold DependencyProperty.
public static DependencyProperty,System.Windows ItemCountThresholdProperty
Résultat System.Windows.DependencyProperty

ListPickerModeProperty public_oe static_oe property

Identifies the ListPickerMode DependencyProperty.
public static DependencyProperty,System.Windows ListPickerModeProperty
Résultat System.Windows.DependencyProperty

PickerPageUriProperty public_oe static_oe property

Identifies the PickerPageUri DependencyProperty.
public static DependencyProperty,System.Windows PickerPageUriProperty
Résultat System.Windows.DependencyProperty

SelectedIndexProperty public_oe static_oe property

Identifies the SelectedIndex DependencyProperty.
public static DependencyProperty,System.Windows SelectedIndexProperty
Résultat System.Windows.DependencyProperty

SelectedItemProperty public_oe static_oe property

Identifies the SelectedItem DependencyProperty.
public static DependencyProperty,System.Windows SelectedItemProperty
Résultat System.Windows.DependencyProperty

SelectedItemsProperty public_oe static_oe property

Identifies the SelectedItems DependencyProperty.
public static DependencyProperty,System.Windows SelectedItemsProperty
Résultat System.Windows.DependencyProperty

SelectionModeProperty public_oe static_oe property

Identifies the SelectionMode DependencyProperty.
public static DependencyProperty,System.Windows SelectionModeProperty
Résultat System.Windows.DependencyProperty

SummaryForSelectedItemsDelegateProperty public_oe static_oe property

Identifies the SummaryForSelectedItemsDelegate DependencyProperty.
public static DependencyProperty,System.Windows SummaryForSelectedItemsDelegateProperty
Résultat System.Windows.DependencyProperty