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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CRUD Operation for DATE , DATE TIME and TIME Picker

Thread ID:





141218 Nov 30,2018 01:29 AM UTC Nov 30,2018 11:54 AM UTC Xamarin.Forms 1
Tags: SfPicker
Asked On November 30, 2018 01:29 AM UTC

Hi Team,

As per the documentation, I've tried the Date,Data Time , Time Picker in my project. Implementing the controls are good. But I need the following requirement

Need below in the MVVM Pattern.

1.      How to Get and Set the value of (Date , Date Time, Time )in the Entry(TextBox) for Both Add and Edit Mode.
2.      How to Get the Selected value for Save(Button) Click.

In the document, all the above controls are displayed while clicking the Button Event. and the selected values are not displayed or not set the value in the Text box. 

Kindly provide the sample application for above controls.



Paul Anderson S [Syncfusion]
Replied On November 30, 2018 11:54 AM UTC

Hi AnandRaj,   
Greetings from Syncfusion. 
Queries: “How to Get and Set the value of (Date, Date Time, Time) in the Entry (TextBox) for Both Add and Edit Mode.” and “How to Get the Selected value for Save (Button) Click” 
For Get and Set the value - This can be achieved by using the SelectedItem property. We have prepared a sample by adding the text box and convert the SeletctedItem object type into string and set into the textbox Text property. 
For Get the Selected value for Save (Button) Click - By using a custom footer view for adding the button(save) and click the button we can print the selected value in the Label. Please check the sample from the following link 
Please let us know if you have any other concern. 
Paul Anderson 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

Live Chat Icon For mobile
Live Chat Icon