我想在Microsoft Band上创建一个简单的应用程序,该应用程序在单击按钮时更新TextBlock。使用新的Microsoft Band SDK更新TextBlockData
我知道如何获得乐队上的按钮的触发事件。但是如果触发按钮,我无法设置TextBlock。
bandClient.TileManager.TileButtonPressed += (s, args) =>
{
buttonPressedCount++;
((TextBlockData)page3.Values[2]).Text = buttonPressedCount.ToString();
bandClient.TileManager.SetPagesAsync(args.TileEvent.TileId, page, page2,page3);
};
我试着改变页面并调用SetPAgeAsync,但是这不能正常工作。
您的帮助表示赞赏。
你好。我有问题捕获按钮触发的事件。你似乎有它的工作。你介意检查我的问题:http://stackoverflow.com/questions/35147802/ms-band-sdk-button-pressed-event-handler-not-being-called – doktorg