We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Set the popup sfTtimeSelector MinutesInterval property

Is there a way to change the sfTimeSelector property MinutesInterval in the sfTimePicker either in XAML or the code behind

Thanks Mark

3 Replies

JP Jagadeesan Pichaimuthu Syncfusion Team February 6, 2019 05:54 AM UTC

Hi Mark, 
 
Thanks for using Syncfusion product. 
 
We have checked your query “How to set the MinuteInterval property of SfTimeSelector in SfTimePicker”. We have prepared a sample based on your requirement in which we set the MinuteInterval property of SfTimeSelector by using SelectorStyle property of SfTimePicker. Please find the code snippet, video and sample for the same from the below location. 
 
<input:SfTimePicker x:Name="datePicker" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200" > 
 
      <input:SfTimePicker.SelectorStyle> 
 
            <Style TargetType="input:SfTimeSelector"> 
 
                <Setter Property="MinuteInterval" Value="4"/> 
 
            </Style> 
 
      </input:SfTimePicker.SelectorStyle> 
             
</input:SfTimePicker> 

 
 
 
And also please refer the below UG Documentation for further reference regarding how to customize the visual elements of SfTimeSelector in SfTimePicker. 
 
 
Please try this above solution and let us know if it is helpful. 
 
Regards, 
Jagadeesan


MA Mark February 6, 2019 03:21 PM UTC

Worked a treat, thanks


JP Jagadeesan Pichaimuthu Syncfusion Team February 7, 2019 05:14 AM UTC

Hi Mark, 

Thanks for your update. 

We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 

Regards, 
Jagadeesan 


Loader.
Live Chat Icon For mobile
Up arrow icon