Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / TimePicker Class / GenerateTimeListItemsSource Method


In This Topic
    GenerateTimeListItemsSource Method
    In This Topic
    Generates a list of TimeItem objects.
    Syntax
    'Declaration
     
    Public Function GenerateTimeListItemsSource() As IEnumerable
    'Usage
     
    Dim instance As TimePicker
    Dim value As IEnumerable
     
    value = instance.GenerateTimeListItemsSource()
    public IEnumerable GenerateTimeListItemsSource()

    Return Value

    A list of TimeItem objects.
    Remarks

    This method 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