windows-phone-toolkit

How to show DatePicker & TimePicker controls over the Popop that contains them?

南笙酒味 提交于 2020-01-02 20:10:18
问题 I'm trying to create a popup with Windows Phone Toolkit DatePicker & TimePicker, with the following XAML: <Popup x:Name="MyPopup"> <Border BorderThickness="2" Margin="10" BorderBrush="{StaticResource PhoneAccentBrush}"> <StackPanel> <toolkit:DatePicker Name="datePicker" /> <toolkit:TimePicker Name="timePicker"/> </StackPanel> </Border> </Popup> This works, but every time I click either of them, they are rendered under the popup, e.g. I can't figure out any way to hide the Popup while

Context Menu Keep Getting Wrong Object using Mvvm

帅比萌擦擦* 提交于 2019-12-24 14:05:23
问题 I am making a winodws 8 phone application and trying to have a context menu on it from the Windows Phone tool kit. I been following this tutorial but instead of list box I am using a long list selector that is built into WP8 <DataTemplate x:Key="GroceryListItemTemplate"> <StackPanel Grid.Column="1" Grid.Row="1"> <TextBlock x:Name="tbName" TextWrapping="Wrap" Text="{Binding Name}" FontSize="32"/> <TextBlock x:Name="tbProductInfo" TextWrapping="Wrap" Text="{Binding ProductInfoLabel}"

Not able to create large size HubTile in WP8

柔情痞子 提交于 2019-12-08 08:47:23
问题 <toolkit:HubTile Background="Red" Source="/Assets/MedicineImg/crocin.jpg" Title="Crocin" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0" Height="400" Width="400" /> i am trying to enlarge my hubtile, but only its frame enlarges , all its animations and the image doesn't enlarge , can anyone suggest a logic for enlarging my entire Hubtile with all its contents to 400 x 400 . 回答1: As far as I know, you can't just change the width and height of a HubTile that easily (just by

Bing Maps GetRoute gives '0x8004231C' error

霸气de小男生 提交于 2019-12-01 12:39:47
I'm trying to show a route from point-to-point on the bing-maps (testing on real device). I've entered 2 waypoints (GeoCoordinate) and I'm trying to get the route via the Windows PhoneToolKit using the await query.GetRouteAsync() . Unfortunately, I'm getting an unknown error: The result of the async call: 'e.Result' threw an exception of type 'System.Reflection.TargetInvocationException' The inner exception: Exception from HRESULT: 0x8004231C I've checked the MSDN website and noticed that this errorcode is not listed in the errorlist... The related code is below. I've used the exact same code

Bing Maps GetRoute gives '0x8004231C' error

情到浓时终转凉″ 提交于 2019-12-01 10:26:44
问题 I'm trying to show a route from point-to-point on the bing-maps (testing on real device). I've entered 2 waypoints (GeoCoordinate) and I'm trying to get the route via the Windows PhoneToolKit using the await query.GetRouteAsync() . Unfortunately, I'm getting an unknown error: The result of the async call: 'e.Result' threw an exception of type 'System.Reflection.TargetInvocationException' The inner exception: Exception from HRESULT: 0x8004231C I've checked the MSDN website and noticed that