ListPickerFlyout class

Applies to Windows Phone only

Represents a control that allows a user to pick one or more items from a list.

Inheritance

Object
  DependencyObject
    FlyoutBase
      PickerFlyoutBase
        ListPickerFlyout

Syntax


public sealed class ListPickerFlyout : PickerFlyoutBase

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]
[WebHostHidden()]

Members

The ListPickerFlyout class has these types of members:

Constructors

The ListPickerFlyout class has these constructors.

ConstructorDescription
ListPickerFlyout Initializes a new instance of the ListPickerFlyout class.

 

Events

The ListPickerFlyout class has these events.

EventDescription
Closed Occurs when the flyout is hidden. (Inherited from FlyoutBase)
ItemsPicked Occurs when the user has selected items.
Opened Occurs when the flyout is shown. (Inherited from FlyoutBase)
Opening Occurs before the flyout is shown. (Inherited from FlyoutBase)

 

Methods

The ListPickerFlyout class has these methods. It also inherits methods from the Object class.

MethodDescription
ClearValue Clears the local value of a dependency property. (Inherited from DependencyObject)
CreatePresenter When overridden in a derived class, initializes a control to show the flyout content as appropriate for the derived control. Note: This method has no base class implementation and must be overridden in a derived class. (Inherited from FlyoutBase)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject)
Hide Closes the flyout. (Inherited from FlyoutBase)
OnConfirmed Notifies PickerFlyoutBase subclasses when a user has confirmed a selection. (Inherited from PickerFlyoutBase)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject)
SetValue Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject)
ShouldShowConfirmationButtons Gets or sets whether confirmation buttons should be shown in the picker. Note: This method has no base class implementation and must be overridden in a derived class. (Inherited from PickerFlyoutBase)
ShowAt Shows the flyout placed in relation to the specified element. (Inherited from FlyoutBase)

 

Properties

The ListPickerFlyout class has these properties.

PropertyAccess typeDescription

Dispatcher

Read-onlyGets the CoreDispatcher that this object is associated with. (Inherited from DependencyObject)

DisplayMemberPath

Read/writeGets or sets the name or path of the property that is displayed for each data item

DisplayMemberPathProperty

Read-onlyIdentifies the DisplayMemberPath dependency property.

ItemsSource

Read/writeGets or sets an object source used to generate the content of the control.

ItemsSourceProperty

Read-onlyIdentifies the ItemsSource dependency property.

ItemTemplate

Read/writeGets or sets the DataTemplate used to display each item.

ItemTemplateProperty

Read-onlyIdentifies the ItemTemplate dependency property.

Placement

Read/writeGets or sets the default placement to be used for the flyout, in relation to its placement target. (Inherited from FlyoutBase)

SelectedIndex

Read/writeGets or sets the index of the selected item.

SelectedIndexProperty

Read-onlyIdentifies the SelectedIndex dependency property.

SelectedItem

Read/writeGets or sets the selected item.

SelectedItemProperty

Read-onlyIdentifies the SelectedItem dependency property.

SelectedItems

Read-onlyGets the list of currently selected items.

SelectedValue

Read/writeGets or sets the value of the selected item, obtained by using the SelectedValuePath

SelectedValuePath

Read/writeGets or sets the property path that is used to get the SelectedValue property of the SelectedItem property.

SelectedValuePathProperty

Read-onlyIdentifies the SelectedValuePath dependency property.

SelectedValueProperty

Read-onlyIdentifies the SelectedValue dependency property.

 

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

PickerFlyoutBase

 

 

Show:
© 2014 Microsoft