windows-phone-8

“Tabbing” between fields using TabIndex

…衆ロ難τιáo~ 提交于 2019-12-25 16:46:51
问题 PROBLEM In my Windows Phone 8 C#/XAML Application using .NET 4.5 I'm trying to "iterate" through form. In other words, when the user presses "Enter" key, the focus changes to another TextBox or PasswordBox . HOW MY CODE LOOKS LIKE NOW XAML: <TextBox TabIndex="0" KeyDown="TextBox_KeyDown"/> <TextBox TabIndex="1" KeyDown="TextBox_KeyDown"/> <TextBox TabIndex="2" KeyDown="TextBox_KeyDown"/> <TextBox TabIndex="3" KeyDown="TextBox_KeyDown"/> <TextBox TabIndex="4" KeyDown="TextBox_KeyDown"/> .... C

ScrollViewer reaching bottom WindowsPhone8

£可爱£侵袭症+ 提交于 2019-12-25 16:09:38
问题 Im trying to open a App-Bar when the user reaches the end of the (ScrollViewer)Page... Therefore I need a indicator when the end is reached... My Scrollviewer (maybe because WP8) has no "ViewChanged"-event like posted in other questions And this solution is just overkill for my Problem I think: http://blogs.msdn.com/b/slmperf/archive/2011/06/30/windows-phone-mango-change-listbox-how-to-detect-compression-end-of-scroll-states.aspx I cant find any event within this Viewer which could help me...

Neural Network on Windows Phone 8.0

[亡魂溺海] 提交于 2019-12-25 12:51:42
问题 I am trying neural network application on Windows Phone 8. And I am writing below code: ActivationNetwork network = null; //global variable network = new ActivationNetwork( new BipolarSigmoidFunction(2), //aktivation func. 9, //input count 20, //hidden layer count 1 //output count ); This code working on desktop project.(C#) But not working Windows Phone 8. This is Aforge Framework's function. I installed via nuget. When I clicked run I am getting error. My error code: An exception of type

Using SQLite with Entity Framework in Windows Phone

会有一股神秘感。 提交于 2019-12-25 12:43:34
问题 I want to ask you if it is possible to use SQLite with Entity Framework in Windows Phone 8 application? Or Entity Framework cannot be used for local database (SQLite) in Windows Phone application? 回答1: Yes you could use SQLite in your WP application by downloading the extension from VS. Reference And also you could use it as a local database too. Could get a better idea from here : Windows phone 8.1 Local Database 来源: https://stackoverflow.com/questions/28354986/using-sqlite-with-entity

Invalid cross-thread access in TimerEvent for ViewModel update

一世执手 提交于 2019-12-25 12:12:04
问题 I have a ViewModel (ObservableCollection) with a Load()-Method. In my UI I have a "Reload"-Button that calls the Load()-Method. Till here everything is fine. The ViewModel is declared in App.xaml.cs so it´s globally accessible. Now I want to update the ViewModel independent of user interaction. I created a Timer as follows: public static class WhagooBackgroundManager { private static bool _isInitialized = false; private static bool _isRunning = false; private static Timer _AppTimer; private

disable the keyboard on textbox tap on windows phone

寵の児 提交于 2019-12-25 11:57:27
问题 okay, so i am now very frustrated about this topic on google, because no one asks the right questions. i have a textbox on my windows phone 8 applications right. now once i click on that textbox the SIP keyboard pops up(that part i get, it is done by the OS). now what i want to do is once i click on the textbox i dont want the SIP to open up , cause it will navigate to a another page, but i cant make it a button cause the user can edit the info in the textbox once they chose the data from the

Pictures slideshow with pinch zoom in WP8

筅森魡賤 提交于 2019-12-25 11:51:04
问题 I am trying to make application with classic pictures view like in photo hub or any standard picture application on any mobile device. So far I began to use FlipView from Kinnara's toolkit fork and CompositeTransform for pinchzooming, but I don't understand how to align picture to the center of the screen (VerticalAlignment=Center seems to not working as a property of Image inside DataTemplate) and I don't understand how to make zoomed pictures not visible in background when viewing neighbor

Pictures slideshow with pinch zoom in WP8

倾然丶 夕夏残阳落幕 提交于 2019-12-25 11:49:20
问题 I am trying to make application with classic pictures view like in photo hub or any standard picture application on any mobile device. So far I began to use FlipView from Kinnara's toolkit fork and CompositeTransform for pinchzooming, but I don't understand how to align picture to the center of the screen (VerticalAlignment=Center seems to not working as a property of Image inside DataTemplate) and I don't understand how to make zoomed pictures not visible in background when viewing neighbor

How to access element by name at a specific ListBox index

…衆ロ難τιáo~ 提交于 2019-12-25 11:42:27
问题 I have a ListBox with several items on it (TextBlocks, Images and so on), what I'm trying to do is access an element by it's name at a specific ListBox index. I know the element name and the index i need to access, in this case I need to change the visibility property of an image control to collapsed. I've looked at a few examples using VisualTreeHelper here but they were only to access element by name, not by name and index, which is what i need to do but have not been able to. Thanks, Bob.

how to override the properties in child project

青春壹個敷衍的年華 提交于 2019-12-25 10:58:22
问题 I am working on Windows Phone app Development, I have 3 projects 1) Library Project 2) Child Project 1 referencing the library project 3) Child Project 2 referencing the library project In Library project it contains all xaml files,.cs files etc... In my child project it contain only a MainPage.xaml and its .cs file where I am navigating it to a page in my library project. But there are few condition in my library project code and it will work based on those conditions like : In my library