"Windows 8"应用程序中"ListView"和"ListBox"之间的区别是什么.
我创建了一个UserControl并在其中定义了一个依赖属性Label.当我在控件中引用它时,我得到了错误The member "Label" is not recognised or is not accessible.我不明白的是,它在Windows手机上运行完美,但在将应用程序移植到Windows 8后,它会出现此错误.是否有不同的东西要做Windows 8用户控件?请帮忙.
user-controls dependency-properties microsoft-metro windows-8
当你停止在音乐播放器中播放的音乐时,它并没有真正阻止它.它只是暂停它,因为您在锁定屏幕后仍然可以看到音乐控件.我想删除使用后面的代码出现在锁定屏幕上的音量控制(倒带,播放,前进)按钮.这已经通过市场上的现有应用程序实现Stop the Music!.我已经浏览了这个页面,但我仍然无法理解他们是如何做到这一点的.
反正有没有实现这个?
c# audio-player windows-phone-7 windows-phone-7.1 windows-phone-8
我有一个List<class>数据.我希望保存它并在每次我的应用程序启动和退出时检索它.什么是IsolatedStorageWindows 8中的(WP7).如何保存这些设置?
在wp7.5上工作的应用程序也可以在wp8上运行吗?
listview scroll position如果我导航到另一个页面并按下back按钮返回,我该如何维护?
它永远resets it to top.回到我曾经的雄心是一种真正的痛苦.请帮忙
我想TextBlock's Text在我的代码后面分配并在屏幕上显示它.它也可能包含new line character.但不知何故,TextBlock这不是打印那个角色.我在文本中使用了以下组合来打印新行字符


 \n\r\n有没有人这样做过?你能帮助我吗?
如何在Windows Phone中显示带提示文本的密码框?
我试过了PasswordBox和Toolkit's PhoneTextBox.将这两者结合起来有什么特别的事吗?
我System.ComponentModel.AsyncOperation.VerifyNotCompleted在stacktraceWindows手机市场的报告中有一个错误.我正在使用background worker后台线程工作.此错误windows phone 8比在Windows Phone 7中发生的更多.
请问有人可以解释这个错误吗?
backgroundworker windows-phone-7 windows-phone-7.1 windows-phone-8
我正在为 Windows Phone 8.1 制作一个通用应用程序。我想在后台将文件上传到服务器。Microsoft 提供了BackgroundUploader类,其中包含BeginUploadAsync 方法,该方法可以在后台通过单个请求上传整个文件。
我想将文件分块上传到服务器。但我无法找到分块上传文件的方法。还有其他选择吗?
在windows phone 8中调用voip代理,服务器需要通过MPNS发送带有后续有效负载的类型4原始通知.
HttpWebRequest sendNotificationRequest = (HttpWebRequest)WebRequest.Create(subscriptionUri);
sendNotificationRequest.Method = "POST";
// We will create a HTTPWebRequest that posts the raw notification to the Microsoft Push Notification Service.
// HTTP POST is the only allowed method to send the notification.
// Create the raw message.
string rawMessage = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" + "<root></root>";
// Sets the notification payload to send.
byte[] notificationMessage = Encoding.Default.GetBytes(rawMessage);
// Sets the web request content length.
sendNotificationRequest.ContentLength = notificationMessage.Length;
sendNotificationRequest.ContentType = "text/xml";
sendNotificationRequest.Headers.Add("X-NotificationClass", "4");
using (Stream …Run Code Online (Sandbox Code Playgroud) 我怎样才能加载bitmapImage从base64String在windows 8?
我试过这个,但我没有成功.它曾经在Windows手机上工作.有什么不同吗?
看起来我必须使用函数setsourceasync.当我使用它时,我需要将参数作为IRandomMemory传递,我无法做到.这该怎么做?
public static BitmapImage Base64ToImage(string base64String)
{
var bitmapImage = new BitmapImage();
try
{
if (!String.IsNullOrEmpty(base64String))
{
var imageBytes = Convert.FromBase64String(base64String);
using (var ms = new MemoryStream(imageBytes, 0, imageBytes.Length))
{
bitmapImage.SetSourcec(ms);
return bitmapImage;
}
}
}
catch (Exception e)
{
}
return null;
}
Run Code Online (Sandbox Code Playgroud) windows-8 ×6
c# ×3
listview ×2
audio-player ×1
bitmapimage ×1
file-upload ×1
hint ×1
listbox ×1
mpns ×1
passwordbox ×1
silverlight ×1
textbox ×1
voip ×1
windows ×1
wns ×1