问题标签 [xamarin.winphone]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
visual-studio - xamarin winphone 到 uwp 迁移
我知道 UWP 是未来,它支持的不仅仅是移动设备。
即使winphone在未来支持windows 10,如果从windows发布另一个操作系统,也不能保证winphone会支持它,但UWP肯定会支持它。
无法保证 Visual Studio 或 xamarin Studio 是否会在未来的版本中继续支持 winphone
我不知道 UWP 谁能给我一些关于将 xamarin.winphoone 迁移到 xamarin.uwp 的想法
visual-studio - 如何将visual studio 2017降级到2015
我卸载了 Visual Studio 2015 为 2017 让路,但 2017 不支持 xamarin.winphone 所以我想将它降级到 Visual Studio 2015 以便它支持 xamarin winphone
我试图找到降级的选项,但我找不到任何
我的问题部分与我之前的问题有关
谢谢
visual-studio - 如何在 Visual Studio 2017 中执行 Xamarin.uwp
我下载了最新的 Visual Studio 2017 并在安装时选择了 Xamarin,并且我已经拥有带有 Xamarin 的 Visual Studio 2015,并且我能够开发 Visual Studio Xamarin.winphone 以及 Xamarin.ios 和 Xamarin.Droid。
我知道 winphone 在 Visual Studio 2017 中已弃用,我想通过迁移我所有的 winphone 代码 uwp 来开发 Xamarin.uwp。
但是当我创建一个新的 Xamarin 本机项目时,我无法找到 Xamarin.uwp,但我可以找到 Xamarin.iOS 和 Xamarin.Droid。
这是屏幕截图
出了什么问题?
c# - why OnActivated and OnResuming are not firing
I have an application where I have to run a piece of code when the application comes from the background to the foreground.
I can do it in three places(App.xaml.cs)
OnLaunched
OnActivated
OnResuming
I had a breakpoint in all three places, but I am not seeing it get hit in OnActivated and OnResuming.
Basically, if I long press on back button it'll bring me all the opened applications I can choose one to bring it to forward.
But I am not getting the breakpoint hit.
xamarin - 在 Xamarin 中创建大小更改编辑器
我想创建一个 Xamarin 表单编辑器控件,当它被填充时会改变它的高度(当上一行中的空格完成时添加一个新行)。我只对WinPhone和Android Platfroms 感兴趣。
编辑器本身不支持此类属性。
我知道 Android 本机控件 (EditText) 支持它(不确定 WinPhone 变体 TextBox)。但我不确定如何实现它。
如果有人可以向我解释如何为这些平台创建渲染器,那将非常有帮助。
编辑
我找到了这个部分解决方案,它工作得很好,但不是那么自然(例如 Android 中的 EditText)。
如果有人能提供更好的解决方案,我会很高兴。
编辑 2
以下是它现在如何工作的结果:
UWP
写第一行:
按回车:
上一行没有像我想要的那样完全显示。
安卓
在android中它实际上工作得很好:
xaml - 为什么 ButtonPressedBackgroundThemeBrush 不适用于按钮
每当我按住按钮时,我都会看到蓝色背景,直到我松开按钮
我尝试使用键ButtonPressedBackgroundThemeBrush将其重置为白色
这是我的按钮代码
但由于某种原因它不起作用。
c# - 如何在 C# 中动态更改列表视图数据模板
我有一个为我的列表视图定制的项目模板,其中的值绑定在 .xaml 本身中。我想在 c# 端动态更改其中一个图像。我知道在 c# 中我可以更改,ContainerContentChanging
但我无法访问 c# 中的自定义模板图像,请指导我解决这个问题。
这是我的列表视图
我想让数据模板在一个单独的 c# 文件中......但我无法链接网格内的 c# 文件。
感谢您从数据模板访问图像的任何帮助。