windows-store-apps

Winrt - Adjusting flyout according to where it appears

大城市里の小女人 提交于 2019-12-24 03:03:23
问题 I have a GridView in a windows store project, that contains some big squares, and inside those i have a list of user images, when i tap on of those images a flyout appears on the right showing some information like this. the problem is that my gridview extends to the edges of the screen and beyond, and when that does i get this situation, i press the user with the red border near the edge of the screen and flyout appears on left. My flyout placement is set to Right, and im guessing since the

Privacy Policy in UWP Store App ? Submission App Store Certification failed

梦想与她 提交于 2019-12-24 02:33:49
问题 I have a simple application to calculate the IP address, subnet mask, broadcast, range of IP addresses, the number of available IP addresses and CIDR. App Policies: 10.5.1 Privacy Policy Notes To Developer Because your app accesses personal information, you need to supply a working link to a privacy policy in the “privacy url” field when you submit the app. See policy 10.5.1 for details about the requirements for a privacy policy. But my app does not collect any user data, its work like

How can I design responsive UI in universal windows app

我怕爱的太早我们不能终老 提交于 2019-12-24 02:24:04
问题 I have just started to develop in universal app. I have developed app in Windows 8 store apps and also developing Windows Phone 8 and Windows Phone 8.1 (SilverLight) Apps. Question is related to universal app in Windows and Single UI which is created in App. Share folder. 1 For web there is word like responsive UI . to create there is media query to write css . I know css is same as we can create resource with for xaml . I can get resolution form c# and I can create different UI for different

Can we publish a WORD Add-In to the Windows 10 app store?

二次信任 提交于 2019-12-24 02:16:54
问题 The WORD Add-in is developed using VSTO in Visual Studio 2015. It has a custom ribbon with some buttons that perform certain content manipulation of a WORD Document. Can this be converted to a UWP app using, maybe, Desktop App Converter , Desktop Bridge etc. And then publish that converted UWP app to Windows 10 App Store. Note : The converted UWP app does not have to run on all devices - it's ok if it runs only on desktop as a WORD Add-In. 回答1: No it is not possible. Also the office store

Value Type Duration is not allowed on property Duration in XAML

耗尽温柔 提交于 2019-12-24 02:14:18
问题 I am trying to do the following with an ordinary Windows Metro style application: public class MyButton : Button { public Duration Duration { get; set; } } <Grid> <local:MyButton Duration="0:0:0.2" /> </Grid> But I receive the error: Value Type Duration is not allowed on property Duration in XAML Any idea what I might be doing wrong? Any help would be greatly appreciated. 回答1: This is a bug in the Visual Studio 11 Beta XAML compiler. You cannot set user-defined value type properties via XAML.

Windows Store App: Eliminates GridView styles and use only for hub page layout

ⅰ亾dé卋堺 提交于 2019-12-24 01:51:26
问题 I try to make a Windows Store App (Metro) hub page which has four different templates with GridView. I referenced link in Creating hub page with different controls in Windows 8 page and it works fine. But GridView has a default style which interacts with touch(and mouse) activity. It grayed when hover, and shows click interaction. My question is, how to disable those behaviors? I tried to dig with Blend but hard to find the place to be customized. 回答1: Sorry I don't know MS Blend But in

GridView LostFocus and GotFocus events

自古美人都是妖i 提交于 2019-12-24 01:49:20
问题 The GridView GotFocus and LostFocus seem to fire each time focus is shifted from one GridViewItem to another. Is there any way to know when a GridView as a whole received and lost focus? MyGridView.GotFocus += MyGridView_GotFocus; MyGridView.LostFocus += MyGridView_LostFocus; The above events MyGridView_GotFocus & MyGridView_LostFocus fires each time focus is moved from one GridViewItem to another in MyGridView 回答1: Is there any way to know when a GridView as a whole received and lost focus?

How deserialize Byte array to object - Windows 8 / WP 8

爱⌒轻易说出口 提交于 2019-12-23 23:33:46
问题 Hi I use code below to convert object to byte array now I need this byte array convert back to object. Does any one know how to deserialize this in windows 8 app? I find some code but use Serialize and BinaryReader classes and this classes are not in windows 8 or does not know it. Person ps = new Person(); ps.name = "Lucy"; DataContractSerializer serializer = new DataContractSerializer(typeof(List<Dictionary<String, String>>)); byte[] byteArr; using (var ms = new MemoryStream()) { serializer

cant use store test kit while Working with SQLite in Windows Phone 8

落爺英雄遲暮 提交于 2019-12-23 19:38:10
问题 I am using SQLite.WP80 version=3.7.16 in Windows phone 8 project. Now when I tried to test with store test kit it says: "the application package(XAP) is not up to date,recompile and try again. change the solution configuration to release and platform to any cpu and rebuild the app" But as I am using sqllite i cannot change to any cpu. Can anyone tell possible solution? 回答1: You should target just one CPU during development (depending on what machine you will be testing/debugging on). When it

Windows 8 Store App, how do I test in-app purchase?

﹥>﹥吖頭↗ 提交于 2019-12-23 18:24:32
问题 My app is created with Javascript. I need it to support in-app purchase for feature unlocking. From the documentation, it looks really simple. However, when I tries to implement it. I noticed that after returning S_OK from CurrentAppSimulator.requestProductPurchaseAsync , CurrentAppSimulator.licenseInformation.productLicenses.lookup(main.licenseName).isActive won't be changed to true. Then I discovered this answer CurrentAppSimulator.RequestProductPurchaseAsync purchasing simulation ,