microsoft-metro

Optimal Database to be used for metro apps?

∥☆過路亽.° 提交于 2019-12-08 06:31:43
问题 I am new to windows 8 metro apps development and i need your help in figuring out my doubt about the database support to metro applications ? i am developing a application which requires reasonably huge amount of data to be stored in its database , it would require many tables and relation between them , with help of this i can fetch the data from database and show it to user , and perform the required operations on it and sync the data when internet connection is there. Please let me know

Metro/Windows 8 + C#/XAML: How to find valid URIs to pictures stored in the Documents Library?

丶灬走出姿态 提交于 2019-12-08 06:22:19
问题 For Windows 8, I have created an app that downloads pictures from the web and stores them in programmatically created subfolders in the user's Document Library. I have added the needed capabilities and declarations to the application manifest: Documents Library enabled as a capability File type association for jpg added and "open is safe" marked in declarations When firing up the app, all folders and files are created correctly - and the user can open them manually from the file system. My

How do I Force suspension of Metro app

浪子不回头ぞ 提交于 2019-12-08 05:24:57
问题 How do we force an app to Suspend (NOT shutdown, just suspend) and then force-resume it ourselves when we are NOT using visual studio/debugging? 回答1: When running under Visual Studio 2012, you can enable the Debug Location on the debugger toolbar. This will allow you to select one of the three operations, "suspend", "resume", and "suspend and shutdown". [edited] Sorry, just noticed that you are asking for non VS solution. You can suspend your app by dragging the app down. Move your cursor to

On screen keyboard is hiding content

浪尽此生 提交于 2019-12-08 05:11:19
问题 I have an autocomplete text box that when typed in will show results in a popup directly below itself. But when the user is using a virtual keyboard as soon as the keyboard shows it will scroll the the bottom of the textbox, This hides the results from showing when they appear. Is there a way for me to get around this? The only way i can think of is to set the vertical offset of the popup on each keypress that will position it above the textbox instead of below. But this is not how i would

WinRT GridView But No GridViewColumn

妖精的绣舞 提交于 2019-12-08 04:32:13
问题 I do not have Windows 8 and Metro installed. My question is based on the documentation. It appears DataGrid is gone but ListView and GridView remain. GridViewColumn is gone. I get the tile nature of Metro. My question is can GridView be configured for a row column presentation? I have an app that for the most part would present great under Metro and would benefit from rights contracts. But there is one page were I need old school GridViewColumn like presentation. Thanks 回答1: I'm not sure if I

Anyone know of a flexible Metro ui for winforms?

给你一囗甜甜゛ 提交于 2019-12-08 04:09:22
问题 A lot of them have hard coded square small and 2 squares sized large tiles. I am looking for something flexible enough for at least the size ratio to be adjustable to be more flat. Telerik has a flexible approach (you can choose any row and column span for a tile) but their implementation is either laughably primitive is still too new, especially the drag and drop part. Devexpress has nice drag and drop, but is stuck doing 1x1 and 1x2 sized tiles. 回答1: DevComponents is my favorite. With WPF,

Suspend camera when user switches away from app, and resume camera when user switches back to app

纵饮孤独 提交于 2019-12-08 03:36:28
问题 Currently, I would like to suspend my camera when user switches away from my app, and resume camera when user switches back to app I am referring to Application lifecycle (Windows Store apps) (Windows) However, Suspending | suspending event isn't being triggered immediately once the user switches away from my app. You need to wait for few seconds (Or it will not trigger at all if OS decides not to do so). So, how I can know, when I should run my camera suspension code when user switches away

MaskedTextBox for WinRT

血红的双手。 提交于 2019-12-08 03:30:38
问题 I'm looking for a MaskedTextBox for WinRT, I can't seem to find any... Does anybody know if such a textbox exists? I found the one from ComponentOne, but that one is paid, and I'm looking for a free sollution. If someone knows an open source sollution for Silverlight or Windows Desktop that isn't like over 2000 lines of code, I'm willing to look into it and try to convert it to WinRT. 回答1: i use a behavior instead of a maskedtextbox control. but honestly i dont know if this would work on

Refresh data in windows store app

守給你的承諾、 提交于 2019-12-08 02:44:27
Im creating a windows store app that has some webservice calls.Currently i use a button event to make the webservice calls, but i want the app to do this automatically every 5 minutes. The button event is now placed in MainPage.xaml.cs What is the best way to perform this are there any timer event in windows store apps? public async void GetWebServiceDataButton(object sender, RoutedEventArgs e) { ........ ......... Retrieve data from web service } It's a bit much code to paste here so I'll add the appropriate links first and I'll provide for those using HTML/JS as well. For those using HTML/JS

Render control into image in WinRT metro

夙愿已清 提交于 2019-12-08 02:43:34
问题 I'm creating an application for windows 8 metro, I need to render a framework control into an image and save it to hard disk but do not know how. Can I use SharpDX for this? How can I do? Thanks in advance for the help 回答1: If you follow through this thread the limitations of Metro and the reasons why it won't work are explained. The essence of it is: Sorry, but rendering Xaml to an element or capturing a screenshot of your own app did not make it into the release version. It is by design