Class TimePickerPopup
Base class for a control that can be used as the popup portion in a TimePicker.
Inheritance
Inherited Members
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public abstract class TimePickerPopup : Control
Fields
| Improve this Doc View SourceFormatProperty
Identifies the Format dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty FormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MaximumProperty
Identifies the Maximum dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty MaximumProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MinimumProperty
Identifies the Minimum dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty MinimumProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PopupMinutesIntervalProperty
Identifies the PopupMinutesInterval dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty PopupMinutesIntervalProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PopupSecondsIntervalProperty
Identifies the PopupSecondsInterval dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty PopupSecondsIntervalProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PopupTimeSelectionModeProperty
Identifies the PopupTimeSelectionMode dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty PopupTimeSelectionModeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ValueProperty
Identifies the Value dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty ValueProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceFormat
Gets or sets the Format used by the control. From XAML Use either "Short", "Long" or a custom format. Custom formats can only contain "H", "h", "m", "s" or "t". For example: use 'hh:mm:ss' is used to format time as "13:45:30".
Declaration
[NotImplemented]
public ITimeFormat Format { get; set; }
Property Value
Type | Description |
---|---|
ITimeFormat |
Maximum
Gets or sets the Maximum time considered valid by the control.
Declaration
[NotImplemented]
public DateTime? Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Remarks
Setting the Maximum property will be used to prevent users from choosing values out of range in the TimePickerPopup.
Minimum
Gets or sets the Minimum time considered valid by the control.
Declaration
[NotImplemented]
public DateTime? Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Remarks
Setting the Minimum property will be used to prevent users from choosing values out of range in the TimePickerPopup.
PopupMinutesInterval
Gets or sets the interval of minutes that can be picked in a popup.
Declaration
[NotImplemented]
public int PopupMinutesInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PopupSecondsInterval
Gets or sets the interval of seconds that can be picked in a popup.
Declaration
[NotImplemented]
public int PopupSecondsInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PopupTimeSelectionMode
Gets or sets the whether the TimePickerPopup supports selecting designators and/or seconds.
Declaration
[NotImplemented]
public PopupTimeSelectionMode PopupTimeSelectionMode { get; set; }
Property Value
Type | Description |
---|---|
PopupTimeSelectionMode |
Value
Gets or sets the currently selected time.
Declaration
[NotImplemented]
public virtual DateTime? Value { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Methods
| Improve this Doc View SourceOnFormatChanged(ITimeFormat, ITimeFormat)
Called when display format changed.
Declaration
[NotImplemented]
protected virtual void OnFormatChanged(ITimeFormat oldValue, ITimeFormat newValue)
Parameters
Type | Name | Description |
---|---|---|
ITimeFormat | oldValue | The old format. |
ITimeFormat | newValue | The new format. |
OnMaximumChanged(Nullable<DateTime>, Nullable<DateTime>)
Called when the Maximum property value has changed.
Declaration
[NotImplemented]
protected virtual void OnMaximumChanged(DateTime? oldValue, DateTime? newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.DateTime> | oldValue | Old value of the Maximum property. |
System.Nullable<System.DateTime> | newValue | New value of the Maximum property. |
OnMinimumChanged(Nullable<DateTime>, Nullable<DateTime>)
Called when the Minimum property value has changed.
Declaration
[NotImplemented]
protected virtual void OnMinimumChanged(DateTime? oldValue, DateTime? newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.DateTime> | oldValue | Old value of the Minimum property. |
System.Nullable<System.DateTime> | newValue | New value of the Minimum property. |
OnPopupMinutesIntervalChanged(Int32, Int32)
Called when the popup minutes interval changed.
Declaration
[NotImplemented]
protected virtual void OnPopupMinutesIntervalChanged(int oldValue, int newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | oldValue | The old value. |
System.Int32 | newValue | The new value. |
OnPopupSecondsIntervalChanged(Int32, Int32)
Called when the popup seconds interval changed.
Declaration
[NotImplemented]
protected virtual void OnPopupSecondsIntervalChanged(int oldValue, int newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | oldValue | The old value. |
System.Int32 | newValue | The new value. |
OnPopupTimeSelectionModeChanged(PopupTimeSelectionMode, PopupTimeSelectionMode)
Called when the time selection mode is changed.
Declaration
[NotImplemented]
protected virtual void OnPopupTimeSelectionModeChanged(PopupTimeSelectionMode oldValue, PopupTimeSelectionMode newValue)
Parameters
Type | Name | Description |
---|---|---|
PopupTimeSelectionMode | oldValue | The old value. |
PopupTimeSelectionMode | newValue | The new value. |