windows-phone-8

Change style for all ListBoxItem in a ListBox (Windows phone 8)

烂漫一生 提交于 2020-01-03 03:35:20
问题 I have a Listbox with some Listboxitem and I would like to change the style of all items. I know, it's possible to create a style in resources and bind this style to each item but maybe is there a possibility to do it so easier (without binding)? With ListBox.ItemTemplate? <ListBox SelectionChanged="ListBox_SelectionChanged"> <ListBoxItem x:Name="ItemAdress"> .... </ListBoxItem> <ListBoxItem x:Name="ItemPhone"> .... </ListBoxItem> <ListBoxItem x:Name="ItemEmail"> .... </ListBoxItem> </Listbox

Does visual studio 2013 express(update2) support the development for wp8?

喜你入骨 提交于 2020-01-03 02:47:25
问题 I just install visual studio 2013 express(update2) and mobile sdk for wp But can not find out where is the option for wp8. Does visual studio 2013 express(update2) support development for wp8? or do I need to download any plugin? Updated question Your comment welcome 回答1: Here is the Download Link & System Requirements You don't need to Install any Plugin , Once you install Visual Studio Express 2013 Update 2 for Windows, you can create Windows Phone 8.1 applications. EDIT: You can create

Scrollable form control in Windows Phone 8

廉价感情. 提交于 2020-01-03 00:52:26
问题 How do I make a scrollable form similar to that of the Phone Contact input panel in Windows Phone 8.1? The current method of StackPanel inside a ScrollViewer restricts scrolling when the SIP launches and I have to hit back button to choose other TextBoxes. This is not an idea UX situation and I've tried a few options of the web. Increasing the StackPanel's height beyond its necessary size by about 350 pixels - didn't work, as it displaces the form unevenly and doesn't return to normal

The given key was not found in the dictionary

风流意气都作罢 提交于 2020-01-02 23:50:32
问题 I'm developing windows phone 8 application. In this, I have to integrate Twitter. So I have followed the below tutorial. http://code.msdn.microsoft.com/wpapps/Latest-Twitter-integration-a42e8bb6 I've implemented successfully twitter in my application. I've tested this in Emulator and in device also. Everything was fine. Suddenly in the device the application is unable to open the twitter log in page. I'm getting the error in the below method at line started with **. void requestTokenQuery

Windows Phone 8 MVVM Database First (like EF)

核能气质少年 提交于 2020-01-02 23:44:49
问题 Is there any framework for Windows Phone 8 which is similar in use to Entity Framework for generating POCOS from an existing database? 回答1: LINQ to SQL: A SQL Server Compact database combined with my SQL Server Compact Toolbox for the code generation. If you have VS Express, you can use the standalone edition, download from http://sqlcetoolbox.codeplex.com 来源: https://stackoverflow.com/questions/18482525/windows-phone-8-mvvm-database-first-like-ef

Create Audio endpoint device - Windows Phone 8

假如想象 提交于 2020-01-02 23:11:51
问题 I am attempting to create a hardware device that sends data to the windows phone via headphone audio jack. I have researched this and found that the Core.Audio api on the msdn site offers what I need however I don't think / cant find this in the windows phone API's Is this available to developers? Obviously someone has access to this because I have seen some companies use it for credit card processors. 回答1: The audio APIs you'd need to do this are not included in the standard Windows Phone 8

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

How does one make function calls or trigger events from a Native component into a C#/XAML component?

自作多情 提交于 2020-01-02 19:47:29
问题 I am developing a WP8 application with a Native (DirectX/D3D) component and a C#/XAML component. The Native component draws to a UI element and the C#/XAML component has the controls of the app (and other things) surrounding it. Usually, I send information from the C#/XAML component down to the Native component. But there are certain times when I would like to trigger events in the C#/XAML component based on when processing is done in the Native component. In one planned feature, I envision a

Pinch and zoom behaviour for windows phone

◇◆丶佛笑我妖孽 提交于 2020-01-02 19:32:12
问题 Is it possible to create a behavior for Pinch and zoom to Image control in windows phone 8. I am trying to apply pinch and zoom along with rotation to Image in my application. In a forum I found that Gesture listener is deprecated and they are not promoting implementation with gesture. So can any one please suggest an alternative method for me. 回答1: If you're targeting only Windows Phone 8 you can use the new ManipulationDeltaEventArgs.PinchManipulation property from the ManipulationDelta

Upload image using ASP.NET WebAPI using a model

核能气质少年 提交于 2020-01-02 17:46:49
问题 I am trying to upload an image from my windows phone 8 app to the SQL server database using a WebAPI. I am using a model class for the Images, which simply consists of an ID belonging to the item the image is for, the name of the image and a byte array to hold the image itself. I use a WebClient object to access the WebAPI method. When I try to upload the image, it throws the exception as shown below. Does anyone have an idea why it errors? Also, I am open to other methods of storing the