TelerikTimePicker<T>
A time input with a popup selector for choosing hours/minutes/seconds. Configure display via Format (default is ). Supports open/close events (OnOpen/OnClose), automatic part switching (AutoSwitchParts/AutoSwitchKeys), caret mode (AllowCaretMode), and programmatic closing (CloseAsync()/Close()). Integrates base picker features like placeholder, min/max, and read-only.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
T
Syntax:
public class TelerikTimePicker<T> : TelerikPickerBase<T>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikInputBase<T>TelerikPickerBase<T>TelerikTimePicker<T>...
Implements:
Inherited Members
Constructors
public TelerikTimePicker()
Properties
Specifies if a caret can be displayed during input (when possible).
[Parameter]
public bool AllowCaretMode { get; set; }
Specifies which keys should switch date parts.
[Parameter]
public List<object> AutoSwitchKeys { get; set; }
Specifies if date parts will be automatically switched when completed.
[Parameter]
public bool AutoSwitchParts { get; set; }
Enables WebMCP tool registration for this TimePicker.
When true, TimePicker operations are exposed as tools discoverable by AI models through the browser.
Default value is false.
[Parameter]
public bool EnableWebMcpTools { get; set; }
Specifies the format of the DateInput of the TimePicker.
[Parameter]
public override string Format { get; set; }
Overrides:
Defines the OnClose Event which is fired before the popup of the TimePicker is closed.
[Parameter]
public EventCallback<TimePickerCloseEventArgs> OnClose { get; set; }
Defines the OnOpen Event which is fired before the popup of the TimePicker is opened.
[Parameter]
public EventCallback<TimePickerOpenEventArgs> OnOpen { get; set; }
Provides configuration for WebMCP tools, such as a Name to distinguish this TimePicker from others on the same page.
[Parameter]
public RenderFragment TimePickerSettings { get; set; }
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
Closes the component.
public override void Close()
Overrides:
Hides the time picker popup.
protected override void OnParametersSet()
Overrides: