TimePickerFlyout TimePickerFlyout TimePickerFlyout Class

Definition

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

public : sealed class TimePickerFlyout : PickerFlyoutBase, ITimePickerFlyout
public sealed class TimePickerFlyout : PickerFlyoutBase, ITimePickerFlyout
Public 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)

Constructors

TimePickerFlyout() TimePickerFlyout() TimePickerFlyout()

Initializes a new instance of the TimePickerFlyout class.

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

Properties

AllowFocusOnInteraction AllowFocusOnInteraction AllowFocusOnInteraction

Gets or sets a value that indicates whether the element automatically gets focus when the user interacts with it.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

AllowFocusOnInteractionProperty AllowFocusOnInteractionProperty AllowFocusOnInteractionProperty

Identifies the AllowFocusOnInteraction dependency property.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

AllowFocusWhenDisabled AllowFocusWhenDisabled AllowFocusWhenDisabled

Gets or sets a value that specifies whether the control can receive focus when it's disabled.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

AllowFocusWhenDisabledProperty AllowFocusWhenDisabledProperty AllowFocusWhenDisabledProperty

Identifies the AllowFocusWhenDisabled dependency property.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

AttachedFlyoutProperty AttachedFlyoutProperty AttachedFlyoutProperty

Identifies the FlyoutBase.AttachedFlyout XAML attached property.

(Inherited from FlyoutBase)

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.

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.

Dispatcher Dispatcher Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)

ElementSoundMode ElementSoundMode ElementSoundMode

Gets or sets a value that specifies the control's preference for whether it plays sounds.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

ElementSoundModeProperty ElementSoundModeProperty ElementSoundModeProperty

Identifies the ElementSoundMode dependency property.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

LightDismissOverlayMode LightDismissOverlayMode LightDismissOverlayMode

Gets or sets a value that specifies whether the area outside of a light-dismiss UI is darkened.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

LightDismissOverlayModeProperty LightDismissOverlayModeProperty LightDismissOverlayModeProperty

Identifies the LightDismissOverlayMode dependency property.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

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.

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.

OverlayInputPassThroughElement OverlayInputPassThroughElement OverlayInputPassThroughElement

Gets or sets an element that should receive pointer input events even when underneath the flyout's overlay.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

OverlayInputPassThroughElementProperty OverlayInputPassThroughElementProperty OverlayInputPassThroughElementProperty

Identifies the OverlayInputPassThroughElement dependency property.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Placement Placement Placement

Gets or sets the default placement to be used for the flyout, in relation to its placement target.

(Inherited from FlyoutBase)

PlacementProperty PlacementProperty PlacementProperty

Identifies the Placement dependency property.

(Inherited from FlyoutBase)

Target Target Target

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

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

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.

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.

TitleProperty TitleProperty TitleProperty

Gets the identifier for the attached title property.

(Inherited from PickerFlyoutBase)

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)

CreatePresenter CreatePresenter 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(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)

GetAttachedFlyout(FrameworkElement) GetAttachedFlyout(FrameworkElement) GetAttachedFlyout(FrameworkElement)

Gets the flyout associated with the specified element.

(Inherited from FlyoutBase)

GetTitle(DependencyObject) GetTitle(DependencyObject) GetTitle(DependencyObject)

Gets the title displayed on the picker control.

(Inherited from PickerFlyoutBase)

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)

Hide Hide Hide

Closes the flyout.

(Inherited from FlyoutBase)

OnConfirmed OnConfirmed OnConfirmed

Notifies PickerFlyoutBase subclasses when a user has confirmed a selection.

(Inherited from PickerFlyoutBase)

OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs)

Called just before a keyboard shortcut (accelerator) is processed in your app. Invoked whenever application code or internal processes call ProcessKeyboardAccelerators. Override this method to influence the default accelerator handling.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)

SetAttachedFlyout(FrameworkElement,FlyoutBase) SetAttachedFlyout(FrameworkElement,FlyoutBase) SetAttachedFlyout(FrameworkElement,FlyoutBase)

Associates the specified flyout with the specified FrameworkElement.

(Inherited from FlyoutBase)

SetTitle(DependencyObject,String) SetTitle(DependencyObject,String) SetTitle(DependencyObject,String)

Sets the title displayed on a picker control.

(Inherited from PickerFlyoutBase)

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)

ShouldShowConfirmationButtons ShouldShowConfirmationButtons 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(FrameworkElement) ShowAt(FrameworkElement) ShowAt(FrameworkElement)

Shows the flyout placed in relation to the specified element.

(Inherited from FlyoutBase)

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<Nullable<TimeSpan>>( Of IReference )
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.

ShowAttachedFlyout(FrameworkElement) ShowAttachedFlyout(FrameworkElement) ShowAttachedFlyout(FrameworkElement)

Shows the flyout associated with the specified element, if any.

(Inherited from FlyoutBase)

TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs) TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs) TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs)

Attempts to invoke a keyboard shortcut (accelerator).

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

Events

Closed Closed Closed

Occurs when the flyout is hidden.

(Inherited from FlyoutBase)

Closing Closing Closing

Occurs when the flyout starts to be hidden.

(Inherited from FlyoutBase)
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Opened Opened Opened

Occurs when the flyout is shown.

(Inherited from FlyoutBase)

Opening Opening Opening

Occurs before the flyout is shown.

(Inherited from FlyoutBase)

TimePicked TimePicked TimePicked

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

public : event TypedEventHandler TimePicked<TimePickerFlyout, TimePickedEventArgs>
public event TypedEventHandler TimePicked<TimePickerFlyout, TimePickedEventArgs>
Public Event TypedEventHandler TimePicked( Of ( Of TimePickerFlyout ), ( Of TimePickedEventArgs ))

See Also