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

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

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

Свойство Тип Описание
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

Свойство Тип Описание
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

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

Метод Описание
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.

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

Метод Описание
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.

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

Метод Описание
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

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

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

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.
Результат void

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

Creates or identifies the element used to display a specified item.
protected GetContainerForItemOverride ( ) : DependencyObject
Результат System.Windows.DependencyObject

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

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.
Результат bool

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

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

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

Builds the visual tree for the control when a new template is applied.
public OnApplyTemplate ( ) : void
Результат void

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

Provides handling for the ItemContainerGenerator.ItemsChanged event.
protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs A NotifyCollectionChangedEventArgs that contains the event data.
Результат void

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

Called when the ManipulationCompleted event occurs.
protected OnManipulationCompleted ( System.Windows.Input.ManipulationCompletedEventArgs e ) : void
e System.Windows.Input.ManipulationCompletedEventArgs Event data for the event.
Результат void

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

Called when the ManipulationDelta event occurs.
protected OnManipulationDelta ( System.Windows.Input.ManipulationDeltaEventArgs e ) : void
e System.Windows.Input.ManipulationDeltaEventArgs Event data for the event.
Результат void

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

Called when the ManipulationStarted event occurs.
protected OnManipulationStarted ( System.Windows.Input.ManipulationStartedEventArgs e ) : void
e System.Windows.Input.ManipulationStartedEventArgs Event data for the event.
Результат void

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

Handles the tap event.
protected OnTap ( System e ) : void
e System Event args
Результат void

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

Opens the picker for selection either into Expanded or Full mode depending on the picker's state.
public Open ( ) : bool
Результат bool

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

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.
Результат void

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

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

Identifies the ExpansionMode DependencyProperty.
public static DependencyProperty,System.Windows ExpansionModeProperty
Результат System.Windows.DependencyProperty

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

Identifies the FullModeHeader DependencyProperty.
public static DependencyProperty,System.Windows FullModeHeaderProperty
Результат System.Windows.DependencyProperty

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

Identifies the FullModeItemTemplate DependencyProperty.
public static DependencyProperty,System.Windows FullModeItemTemplateProperty
Результат System.Windows.DependencyProperty

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

Identifies the Header DependencyProperty.
public static DependencyProperty,System.Windows HeaderProperty
Результат System.Windows.DependencyProperty

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

Identifies the HeaderTemplate DependencyProperty.
public static DependencyProperty,System.Windows HeaderTemplateProperty
Результат System.Windows.DependencyProperty

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

Identifies the ItemCountThreshold DependencyProperty.
public static DependencyProperty,System.Windows ItemCountThresholdProperty
Результат System.Windows.DependencyProperty

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

Identifies the ListPickerMode DependencyProperty.
public static DependencyProperty,System.Windows ListPickerModeProperty
Результат System.Windows.DependencyProperty

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

Identifies the PickerPageUri DependencyProperty.
public static DependencyProperty,System.Windows PickerPageUriProperty
Результат System.Windows.DependencyProperty

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

Identifies the SelectedIndex DependencyProperty.
public static DependencyProperty,System.Windows SelectedIndexProperty
Результат System.Windows.DependencyProperty

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

Identifies the SelectedItem DependencyProperty.
public static DependencyProperty,System.Windows SelectedItemProperty
Результат System.Windows.DependencyProperty

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

Identifies the SelectedItems DependencyProperty.
public static DependencyProperty,System.Windows SelectedItemsProperty
Результат System.Windows.DependencyProperty

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

Identifies the SelectionMode DependencyProperty.
public static DependencyProperty,System.Windows SelectionModeProperty
Результат System.Windows.DependencyProperty

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

Identifies the SummaryForSelectedItemsDelegate DependencyProperty.
public static DependencyProperty,System.Windows SummaryForSelectedItemsDelegateProperty
Результат System.Windows.DependencyProperty