toolkit:timepicker Windows Phone 7 app set interval minutes - xaml

In silverlight there is an option called PopupMinutesInterval to set the minutes interval in the timepicker page. Is there an option for Windows phone 7 app in Xaml?
<toolkit:TimePicker PopupMinutesInterval="15" />

Eventually got the solution, I used a TimeSpanPicker.

Related

Calendar Date Picker for UWP

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>

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"/>

Timer in Windows 8 app in background

I'm toying with Windows 8 SDK and I'd like to create an app that does something when a timer elapses. I've found out that when the app is suspended, the DispatcherTimer stops and resumes when the app comes back into the foreground. However, I'd like to schedule timer updates also in the background. What is the preferred solution to this problem (scheduling task for the future while the app is in background)?
You can use a Background task. Take a look to the example available at http://code.msdn.microsoft.com/windowsapps/Background-Task-Sample-9209ade9.
I found following article really helpful when working with BackgroundTask
31 Days of Windows 8 | Day #12: Background Tasks

Tile Based UI inside windows 8 store app

I am creating window 8 store app that will run on windows 8 tablets,
In my application I want to give tile based UI,
Can any one guide, how will it be possible or is there any controls available like HubTile Control for WP7... ?
Thanks And Regards,
:)
Telerik has released the Windows 8 controls which includes the Hub tile as you mentioned for WP 7.
Check it out : http://www.telerik.com/products/windows-metro/controls/hubtile.aspx

is there something like a hubtile (WP7) in win 8 metro style?

i want to port one of my windows phone 7 apps to the windows 8 metro style plattform.
the problem is, that i need a element like the hubtile which i use from the silverlight toolkit for windows phone.
is there something equal in the windows 8 metro style platform? maybe open source like the silverlight toolkit.
i dont want to add the livetile outside my app, this is easy. i want to have something like hubtile for WP7 for win8. This means a tile which is inside my application.
If I'm right I'm planning to do the same task. I didn't find any reference of a control which performs like a HubTile. Thus, I decided importing the one from the Silverlight Toolkit (for Windows Phone). Luckily it worked almost smoothly, you can see my sample at:
https://github.com/hmadrigal/playground-dotnet/tree/master/MsWinPhone.EmbedFont (tested on Windows 8 RP and Visual Studio 2012 RC)
Kind regards,
Herber
you can work with the live tiles of course and in several ways. You can use badge notifications, toast notifications, and so on.
I'll suggest you to take a look to this documentation.
And also take a look to those two samples: App tiles and badge sample and Push and periodic notifications client-side sample
By the way don't forget to enable the features you need in the package manifest.