Calendar Date Picker for UWP - xaml

I'm currently developing a UWP app and I stumbled upon this in google, https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/calendar-date-picker
I'm currently using date picker in selecting dates but I thinks the calendar date picker is more suitable for this. I used date picker back then because I can't find calendar date picker in my toolbox and I believed it is not available for UWP. But referring to the link above, it should be available in my toolbox.
I really really want to use the calendar date picker.

It seems that you’re developing universal windows 8.1 app, not UWP app (windows 10). So you would not use “Calendar date picker” control in your project.
If you want to use it, you would need to update your OS to windows 10, and install windows 10 SDK. More information, please refer to this document about “Get started with Windows apps” for details.

Just use it in your xaml
<CalendarDatePicker />
Since you seem to have the documentation link, and there's no particular question I don't know what else to add.

Note that CalendarDatePicker needs DateTime object to bind but simple DatePicker DateTimeOffset object to bind. If you want to create CalendarDatePicker without any default value you have to use nullable DateTime by
DateTime? date {get;set;}= null;
at code behind and bind it with x:Bind.
On the other hand, i recommend to try use telerik controls. For me RadCallendar looks really great ;)

If you are developing UWP there is Calendar Date Picker Control.
Copy below code into your .xaml file:
<Grid>
<CalendarDatePicker x:Name="myCalendar" Header="Select Date"/>
</Grid>

Related

Xamarin.Forms embed native controls for WPF

Following Native Views in XAML I see that it is possible to embed native views in XAML by specifying a value for targetPlatform in an appropriate xmlns attribute value.
In my sample project I have confirmed this works for UWP by using targetPlatform=Windows. This actually works fine.
However I wish to do the same thing for a WPF control and was wondering which targetPlatform value to use. I see from the article that targetPlatform should be set to one of values of the TargetPlatform enumeration. Looking at the documentation for TargetPlatform enumeration I see that it is obsolete and does not have a value for WPF. (I tried to use Other but this does not work.)
I see that Device.RuntimePlatform may be used in code, but not sure if there is a way to use it with the xmlns attribute.
How do I conditionally embed WPF native views in XAML? If this is not possible, what's the best way to do this?
At the moment WPF support is in beta and it is not possible, as you can see it is on TODO list at the moment: https://github.com/mohachouch/forms-wpf-progress/blob/master/Status.md
You can port any view using the custom renderer, but adding and binding properties even for just one control is a huge work.

Use Dojo date picker on iOS devices instead of native picker - XPages Feature Pack 8

We have an XPages (web) application which includes a date field. When editable the field gets rendered automatically with a dojo-based date picker popup, which works on a desktop and iPad.
Since installing Feature Pack 8 the default behaviour of the date picker when accessed from an iPad has changed to use the native iOS date picker instead (via the HTML5 attribute). Prior to feature pack 8 it use the dojo-based date picker button/popup.
How do we go back to how it was before and enforce the dojo datepicker on the iPad? There are some comments around date picker behaviour in the feature-pack 8 release notes but they are around the use of the mobile theme which we are not using in this instance.
Thanks.

Number picker as same as time picker in alarm app in windows phone 8 (xaml)

I am new on windows phone development and I need scroll number picker (as time picker in Alarm app) as shown in image how can i get it.....
View Image Here
If you just need a list of numbers similar to the TimePicker then populate the same primitive controls that the TimePicker uses. In this case you're look at LoopingSelector, you still need to NuGet/Install the windows phone toolkit.
Use
<phone:PhoneApplicationPage
xmlns:toolkit_primitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone.Controls.Toolkit">
<toolkit_primitives:LoopingSelector>
<primitives:LoopingSelector.ItemTemplate>
<DataTemplate>
<!-- design your own square box+text -->
</DataTemplate>
</primitives:LoopingSelector.ItemTemplate>
</toolkit_primitives:LoopingSelector>
For more information:
See TimePickerPage.xaml Source Code
See MSDN Forum on LoopingSelector
OLD Solution
If you're using WP 8.0+ SL then see this SO Post: TimePicker 24h Format. It deals with the Windows Phone Toolkit: TimePicker <toolkit:TimePicker>
Else if you're doing a WP8.1 runtime app just set the ClockIdentifier to 24HourClock.
<TimePicker Header="24HourClock" ClockIdentifier="24HourClock"/>

Build Calendar into iOS App

I am building a iPad app that will have a calendar and that calendar will pull down its events from CalDav or from .ics.
Does anyone know of any sample code that shows the basic structure on how to do this. Is their a Calendar controller already in xCode?
You can use the TapKu Library.It may be helpful .
http://developinginthedark.com/posts/iphone-tapku-calendar-markers
Not sure about CalDav of .ics but you can access the calendar using the Event Kit (from iOS 4.0). It lets you query and create calendar entries and suchlike.
You can read about it here on the Apple site.

Xcode: Calendar for Ipad or Iphone

I have a technical question: In xcode there is only a data-picker and this element is not functional in my app because in my app the user must be fast to choose date time. I would to use another instrument for chose a date. Have you any suggestions?
You can probably use one of the Date pickers lots of web sites are using : some kind of calendar view where you touch at the day you want.
You may have to code your own component though.
Examples :
http://www.bitrepository.com/a-collection-of-free-javascript-date-pickers.html