XAML:
<ListBox x:Name="listBox" Height="200" ScrollViewer.VerticalScrollBarVisibility="Visible" >
<ListBox.ItemTemplate>
<DataTemplate>
<input:SfTimePicker HorizontalAlignment="Left" Width="200" Name="timePicker" Value="{Binding }" FormatString="hh:mm:ss" SelectorFormatString="hh:mm tt">
<input:SfTimePicker.SelectorStyle>
<Style TargetType="input:SfTimeSelector">
<Setter Property="Header" Value="Set measurement time"/>
<Setter Property="MinuteInterval" Value="15" />
</Style>
</input:SfTimePicker.SelectorStyle>
</input:SfTimePicker>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
C#:
public ObservableCollection<TimeSpan> TimesList { get; set; }
public MainWindow()
{
InitializeComponent();
TimesList = new ObservableCollection<TimeSpan>();
TimeSpan picker;
picker = new TimeSpan(10, 00, 00);
TimesList.Add(picker);
picker = new TimeSpan(10, 15, 00);
TimesList.Add(picker);
listBox.ItemsSource = TimesList;
}
|
Recommended approach - exe will perform automatic configuration.
Please find the patch setup from below location:
Patch link :
Please find the patch assemblies alone from below location:
Assemblies Link:
Nuget link:
|
Recommended approach - exe will perform automatic configuration.
Please find the patch setup from below location:
Patch link :
Please find the patch assemblies alone from below location:
Assemblies Link:
Nuget link:
|
Recommended approach - exe will perform automatic configuration.
Please find the patch setup from below location:
Patch link :
Please find the patch assemblies alone from below location:
Assemblies Link:
Nuget link:
|