Xceed Toolkit Plus for WPF v4.6 Documentation
GenerateTimeListItemsSource Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > TimePicker Class : GenerateTimeListItemsSource Method
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

Reference

TimePicker Class
TimePicker Members