Picker​Flyout Picker​Flyout Picker​Flyout Class

Definition

Represents a custom picker control. (Not recommended for Universal Windows Platform (UWP) app. See Flyout.)

public : sealed class PickerFlyout : PickerFlyoutBase, IPickerFlyoutpublic sealed class PickerFlyout : PickerFlyoutBase, IPickerFlyoutPublic NotInheritable Class PickerFlyout Inherits PickerFlyoutBase Implements IPickerFlyout
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited methods

Inherited events

Remarks

Note

PickerFlyout is not supported for use in Universal Windows Platform (UWP) app for Windows 10. Instead, use a Flyout with a custom UI to present a custom picker control.

Constructors

PickerFlyout() PickerFlyout() PickerFlyout()

Initializes a new instance of the PickerFlyout class.

public : PickerFlyout()public PickerFlyout()Public Sub New()
Attributes

Properties

ConfirmationButtonsVisible ConfirmationButtonsVisible ConfirmationButtonsVisible

Gets or sets whether the confirmation buttons are visible.

public : PlatForm::Boolean ConfirmationButtonsVisible { get; set; }public bool ConfirmationButtonsVisible { get; set; }Public ReadWrite Property ConfirmationButtonsVisible As bool
Value
PlatForm::Boolean bool bool

True of the confirmation buttons are visible; Otherwise, false.

Attributes

ConfirmationButtonsVisibleProperty ConfirmationButtonsVisibleProperty ConfirmationButtonsVisibleProperty

Identifies the ConfirmationButtonsVisible dependency property.

public : static DependencyProperty ConfirmationButtonsVisibleProperty { get; }public static DependencyProperty ConfirmationButtonsVisibleProperty { get; }Public Static ReadOnly Property ConfirmationButtonsVisibleProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier of the ConfirmationButtonsVisible dependency property.

Attributes

Content Content Content

Gets or sets the content that is contained within the picker.

public : UIElement Content { get; set; }public UIElement Content { get; set; }Public ReadWrite Property Content As UIElement
Value
UIElement UIElement UIElement

The content of the user control.

Attributes

ContentProperty ContentProperty ContentProperty

Gets the identifier for the Content dependency property.

public : static DependencyProperty ContentProperty { get; }public static DependencyProperty ContentProperty { get; }Public Static ReadOnly Property ContentProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Content dependency property.

Attributes

Methods

ShowAtAsync(FrameworkElement) ShowAtAsync(FrameworkElement) ShowAtAsync(FrameworkElement)

Begins an asynchronous operation to show the flyout placed in relation to the specified element.

public : IAsyncOperation<PlatForm::Boolean> ShowAtAsync(FrameworkElement target)public IAsyncOperation<bool> ShowAtAsync(FrameworkElement target)Public Function ShowAtAsync(target As FrameworkElement) As IAsyncOperation( Of bool )
Parameters
target
FrameworkElement FrameworkElement FrameworkElement

The element to use as the flyout's placement target.

Returns
IAsyncOperation<PlatForm::Boolean> IAsyncOperation<bool> IAsyncOperation<bool>

An asynchronous operation.

Attributes

Events

Confirmed Confirmed Confirmed

Occurs when the user has tapped a confirmation button to confirm the selection.

public : event TypedEventHandler Confirmedpublic event TypedEventHandler ConfirmedPublic Event Confirmed
Attributes

See Also