XAML Daily Calendar Control (Windows Phone 8.1) - xaml

I am looking for a daily calendar control written in XAML for the use in a Windows Phone 8.1 app. Everything I found so far are calendars with monthly or weekly views, which I am not interested in.
It would be nice if it had some kind of timeline (like in the example below) and supported the displaying of events with custom start and end times (at least).
By daily, I mean that only one calendar day and it's corresponding events is shown at a time, like so (Windows Phone default calendar):

There is no inbuilt Control and no third party controls(AFAIK).
I have made enough searches and finally implemented on my Own.
Some general Ideas are:
<ListView>
<ListView.ItemTemplate>
<ItemsControl>
<ItemsControl.ItemTemplate>
<StackPanel Orientation="Horizontal">
<Rectangle/>
</Stackpanel>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ListView.ItemTemplate>
</ListView>
Make you viewmodel to fit into this structure .I used this way and achieved it perfecly.

Related

Recomendations on Windows 10 Universal App using users Calendar VB.NET

I am looking for
How to Integrate Calendar with a Windows 10 Universal App VB.NET.
Some recommendations/tips on best practices.
Comparisions on approach suggeted.
Recommendations on which is better, to open users Windows calendar integrated on my app, or add appointments to a database and sync it with users calendar on demand, for example.
VB.NET tutorials on using calendar would be greatly appreciated too...
CalendarView is a control itself in the Universal Windows Apps.
This View provides a visual calendar display to select a date. This view can be customized, to change the language, start date, end date etc
To add into xaml page, use following tag
<CalendarView SelectionMode="Single" CalendarViewDayItemChanging="CalendarView_CalendarViewDayItemChanging" IsGroupLabelVisible="True" HorizontalAlignment="Center" VerticalAlignment="Center" IsOutOfScopeEnabled="True" Language="en-US" CalendarIdentifier="GregorianCalendar"/>
Now its purely requirement driven, if you do not want to use framework provided control, you can write your own custom control. this link has good material on user control.
The datepicker class and about can also be reffered

Windows Xaml IconElement overview

I'm currently working on a Windows 8.1 App. I want to set the Icon on an AppBarButton. There are a lot of Icons and i would like have an overview. Is there any or do i have to make one by myself? I would like to have an overview over the Icons and not only the name within Intellisense.
<AppBarButton x:Name="btnTest" Icon="Accept" Label="Test" />
Look into properties in you commandbar. In the common section you have primary and secondary commands. Just click button with three dots ... and in the opened window you can add buttons with creator where you can see every available icon.

Windows phone 8.1 wizard control

I need to create an app that has a few setttings that need to be set before the application can continue i would like to do that using some sort of wizard. I looked at other apps and found that the 'Kid's corner' app does exactly what i want.
My question is is that a default control or is it a custom control. If it's a custom control how would one create one.
There is no specific template to accomplish this task. The most common way to do it would be to create a separate page for the wizard. On the page you'll use various controls to actually create a settings page. Most likely these will include Textblock (for static text), TextBox (for text entry), and ToggleSwitch for binary (e.g. On/Off) options. Here's an example of what you could use to create a very simple welcome wizard that allows the user to turn live tiles on or off.
<TextBlock Text="Welcome to the app!">
<ToggleSwitch x:Name="toggleSwitch1" Header="Turn on live tiles?"
OnContent="On" OffContent="Off"
Toggled="ToggleSwitch_Toggled"/>
If you need more info please ask :)
Reference for ToggleSwitch: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868198.aspx

how to cancel cycle combo box on touch xaml

I working on a win 8 metrostyle app
I have combo boxes in app.
when I click on combo box with mouse it works normal. it pops up a list and I can scroll
but when I use touching the items in the combo box keeps rolling. it doesnt stop at top or bottom
is there an attribute for it to cancel??
The MSDN forums have an answer. What you can do is set the items panel for the combobox to override this default behavior.
<ComboBox>
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel />
</ItemsPanelTemplate>
</ComboBox.ItemsPanel>
<ComboBox>
I have been working on windows 8 metro style applications since the first day it was released. I encountered the very same problem last week, and was unable to fix it. After a while, I uninstalled and re-installed Visual Studio 2012 from my development machine, and the problem is automatically fixed.
You can give it a try.

RadHtmlPlaceholder issue

I used the RadHtmlPlaceholder to display the HTML content in one window, but while I drag the window, the HTML content still display in the original place not in the window.
Can you please tell me the root cause of the issue?
<telerik:RadHtmlPlaceholder x:Name="htmlPlaceHolder" VerticalAlignment="Top" HorizontalAlignment="Left" HtmlSource="{Binding Html}" Margin="0,0,0,8"/>