Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / TimePicker Class / TimeInterval Property


In This Topic
    TimeInterval Property (TimePicker)
    In This Topic
    Gets or sets the time interval between the TimeItem items listed in the dropdown.
    Syntax
    'Declaration
     
    Public Property TimeInterval As TimeSpan
    'Usage
     
    Dim instance As TimePicker
    Dim value As TimeSpan
     
    instance.TimeInterval = value
     
    value = instance.TimeInterval
    public TimeSpan TimeInterval {get; set;}

    Property Value

    A TimeSpan representing the time interval between the TimeItem items listed in the dropdown. By default, TimeSpan( 1, 0, 0 ).
    Remarks

    GenerateTimeListItemsSource uses StartTime and EndTime to determine the range of times to present in the dropdown and TimeInterval to determine the exact items (the interval between each item).

    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