Time​Picker​Flyout Time​Picker​Flyout Time​Picker​Flyout Class

Definition

Represents a control that allows a user to pick a time value.

public : sealed class TimePickerFlyout : PickerFlyoutBase, ITimePickerFlyoutpublic sealed class TimePickerFlyout : PickerFlyoutBase, ITimePickerFlyoutPublic NotInheritable Class TimePickerFlyout Inherits PickerFlyoutBase Implements ITimePickerFlyout
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

Constructors

TimePickerFlyout() TimePickerFlyout() TimePickerFlyout()

Initializes a new instance of the TimePickerFlyout class.

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

Properties

ClockIdentifier ClockIdentifier ClockIdentifier

Gets or sets the clock system to use.

public : PlatForm::String ClockIdentifier { get; set; }public string ClockIdentifier { get; set; }Public ReadWrite Property ClockIdentifier As string
Value
PlatForm::String string string

The name of the clock system to use.

Attributes

ClockIdentifierProperty ClockIdentifierProperty ClockIdentifierProperty

Gets the identifier for the ClockIdentifier dependency property.

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

The identifier for the ClockIdentifier dependency property.

Attributes

MinuteIncrement MinuteIncrement MinuteIncrement

Gets or sets a value that indicates the time increments shown in the minute picker. For example, 15 specifies that minute picker displays only the choices 00, 15, 30, 45.

public : int MinuteIncrement { get; set; }public int MinuteIncrement { get; set; }Public ReadWrite Property MinuteIncrement As int
Value
int int int

An integer from 0-59 that indicates the increments shown in the minute picker. The default is 1.

Attributes

MinuteIncrementProperty MinuteIncrementProperty MinuteIncrementProperty

Gets the identifier for the MinuteIncrement dependency property.

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

The identifier for the MinuteIncrement dependency property.

Attributes

Time Time Time

Gets or sets the time currently set in the time picker.

public : TimeSpan Time { get; set; }public TimeSpan Time { get; set; }Public ReadWrite Property Time As TimeSpan
Value
TimeSpan TimeSpan TimeSpan

The time currently set in the time picker.

Attributes

TimeProperty TimeProperty TimeProperty

Gets the identifier for the Time dependency property.

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

The identifier for the Time 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<IReference<TimeSpan>> ShowAtAsync(FrameworkElement target)public IAsyncOperation<Nullable<TimeSpan>> ShowAtAsync(FrameworkElement target)Public Function ShowAtAsync(target As FrameworkElement) As IAsyncOperation( Of NullableTimeSpan )
Parameters
target
FrameworkElement FrameworkElement FrameworkElement

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

Returns
IAsyncOperation<IReference<TimeSpan>> IAsyncOperation<Nullable<TimeSpan>> IAsyncOperation<Nullable<TimeSpan>>

An asynchronous operation.

Attributes

Events

TimePicked TimePicked TimePicked

Occurs when the user has selected a time in the time picker flyout.

public : event TypedEventHandler TimePickedpublic event TypedEventHandler TimePickedPublic Event TimePicked
Attributes

See Also