Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / TimePicker Class
Members Example


In This Topic
    TimePicker Class
    In This Topic
    A control offering a TextBox that can be used to edit a TimeOnly value, 2 RepeatButtons that can be used to increase or decrease said value & a DropDownButton that opens a CarouselPanel where a TimeOnly value can be manually selected.
    Object Model
    TimePicker ClassButtonSpinner ClassTextBox Class
    Syntax
    'Usage
     
    
    Dim instance As TimePicker
    Remarks
    The formatting of the TimeOnly value can be set either with predefined or custom formats.
    Example

    The following code would display this control:

    <xctk:TimePicker Value="10:42"
                     HorizontalOptions="Center"
                     BorderBrush="Orange"
                     BorderThickness="3"/>
    Inheritance Hierarchy

    System.Object
       Microsoft.Maui.Controls.BindableObject
          Microsoft.Maui.Controls.Element
             Microsoft.Maui.Controls.NavigableElement
                Microsoft.Maui.Controls.VisualElement
                   Microsoft.Maui.Controls.View
                      Microsoft.Maui.Controls.Compatibility.Layout
                         Microsoft.Maui.Controls.TemplatedView
                            Xceed.Maui.Toolkit.Control
                               Xceed.Maui.Toolkit.InputBase
                                  Xceed.Maui.Toolkit.UpDownBase<T>
                                     Xceed.Maui.Toolkit.DateTimeUpDownBase<T>
                                        Xceed.Maui.Toolkit.TimeUpDown
                                           Xceed.Maui.Toolkit.TimePicker

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also