windows-phone

How to access UWP application settings set by MDM?

可紊 提交于 2020-01-04 06:14:14
问题 I am using EnterpriseModernAppManagement CSP to install and set settings for some UWP app as defined here: https://msdn.microsoft.com/en-us/library/windows/hardware/dn904956(v=vs.85).aspx .../PackageFamilyName/AppSettingPolicy/SettingValue (only for ./User/Vendor/MSFT) Added in Windows 10, version 1511. The SettingValue and data represent a key value pair to be configured for the app. UWP app installs correctly and settings setup (via AppSettingPolicy) execute successfully. But how do I now

How to access UWP application settings set by MDM?

徘徊边缘 提交于 2020-01-04 06:11:24
问题 I am using EnterpriseModernAppManagement CSP to install and set settings for some UWP app as defined here: https://msdn.microsoft.com/en-us/library/windows/hardware/dn904956(v=vs.85).aspx .../PackageFamilyName/AppSettingPolicy/SettingValue (only for ./User/Vendor/MSFT) Added in Windows 10, version 1511. The SettingValue and data represent a key value pair to be configured for the app. UWP app installs correctly and settings setup (via AppSettingPolicy) execute successfully. But how do I now

Operation not permitted on IsolatedStorageFileStream

我与影子孤独终老i 提交于 2020-01-04 02:40:08
问题 I get an error when I open the file after it is created using (var myFileStore = IsolatedStorageFile.GetUserStoreForApplication()) { myFileStore.CreateFile(DateTime.Now.Ticks + ".txt"); } using (var myFileStore = IsolatedStorageFile.GetUserStoreForApplication()) { temp = myFileStore.GetFileNames(); for (int k = 0; k < temp.Length; k++) { IsolatedStorageFileStream file1 = myFileStore.OpenFile(temp[k], FileMode.Open, FileAccess.Read); dataSource.Add(new SampleData() { Name = temp[k], Size =

What's the icon needed for Cortana's Help list?

六眼飞鱼酱① 提交于 2020-01-03 15:59:14
问题 So I'm adding voice command recognitions with Cortana in my app. My VCD file is all set and everything is working as expected, so now I have to look for the little things. I have all the needed icons (that I know of) in my app but still when my app appears on the Cortana screen (the "What can I say?" screen), my app appears with a default icon, not added by me. So my question is, what's the missing icon I'm not seeing? p.s: the official Remote Desktop app also shows the same icon so I guess I

Rotate a Style image on Windows Phone

馋奶兔 提交于 2020-01-03 05:18:18
问题 The answer I found at: How to rotate an image to a particular angle in Windows Phone 7 Silverlight Application? is close to what I am looking for. My question is - how can I do this if the image is part of a style? The image is basically an arrow pointing in the direction of movement (track). <Style x:Key="MyBoatPushPinStyle" TargetType="maps:Pushpin"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Image x:Name="MyBoatIcon" Source="Resources/Icons/myboat.png" Stretch="None">

How to Develop different Styles Combobox in Visual Studio Express for Window phone?

丶灬走出姿态 提交于 2020-01-03 04:51:22
问题 How to Develop different Styles Combobox in Visual Studio Express for Window phone? When Click on combobox by default it take blue color.I want to change the color when click on it.How to set different styles of combobox in expressin blend? 回答1: You shouldn't use a ComboBox for Windows Phone 7 development. Instead you should use a ListPicker from the Silverlight Toolkit The listpicker looks like this: or like this 来源: https://stackoverflow.com/questions/6826447/how-to-develop-different-styles

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

Detect which APIs are present in UWP app

穿精又带淫゛_ 提交于 2020-01-02 09:42:33
问题 Understanding why it's not recommended to detect the device type to perform run-time functionality, best practices dictate detecting which APIs are present instead. This way, users running their tablet in desktop mode, for instance, will not experience undesired behavior. Also, since hardware is so dynamic, checking for user interactions like touch capability is not a good approach either. On our project, we have decided to identify the APIs we'll need for three different screen widths -

TemplateBinding fails when the target is an ImageBrush.ImageSource

倾然丶 夕夏残阳落幕 提交于 2020-01-02 05:34:31
问题 Why does TemplateBinding seems to fail in this specific case? Take a basic extended button: public class IconButton : Button { public ImageSource Icon { get { return (ImageSource)GetValue(IconProperty); } set { SetValue(IconProperty, value); } } public static readonly DependencyProperty ImageProperty = DependencyProperty.Register("Icon", typeof(ImageSource), typeof(IconButton), new PropertyMetadata(null)); public IconButton() { DefaultStyleKey = typeof(IconButton); } } The control template

Simulate pinch gesture in Windows Phone 8 emulator [duplicate]

怎甘沉沦 提交于 2020-01-02 03:44:06
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How can I simulate multi-touch in the Windows Phone 7 emulator? I'm trying to simulate a pinch gesture so I can zoom out in a map, but I can't seem to figure out how?! Seems to me like a rookie problem, but everywhere I've checked they tell me there's supposed to be a pinch button in the toolbar on the right in the emulator. Any ideas? 回答1: The Windows Phone emulator only supports multitouch gestures with a