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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display more looping items in the DateSelector and TimeSelector

Platform: WPF |
Control: SfDatePicker |
Published Date: May 15, 2018 |
Last Revised Date: May 15, 2018 |
.NET Framework: 4

Count of the LoopingSelectorItem(which are displayed in the Selected Looping Selector) is based on the Height of the each looping item and available height of the SfDateSelector/SfTimeSelector. Default height of the Selector and Looping item is 500 and 80 respectively, so the default count of the LoopingSelectorItem is 5. Based on the required count of LoopingSelectorItem, we must change the height of the Selector. The following code demonstrate the same,

 

Mainwindow.xaml:

 

Mainwindow.cs

 

Screenshot :

 

 

Sample :

http://www.syncfusion.com/downloads/support/directtrac/general/ze/DateSelector_SelectorSize1266149445.zip

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon