windows-phone-7

The referenced component 'Microsoft.Phone.Controls.Toolkit' could not be found?

偶尔善良 提交于 2021-02-07 08:33:09
问题 The referenced component 'Microsoft.Phone.Controls.Toolkit' could not be found? It's here though? 回答1: It looks like the problem is that you're trying to reference a copy of the Microsoft.Phone.Controls.Toolkit .dll in your Ref folder, but Visual Studio is probably looking for somewhere else. If you open Visual Studio and expand the References folder in the Solution Explorer, you'll probably see that Microsoft.Phone.Controls.Toolkit is listed but marked with a yellow warning icon. Try right

The referenced component 'Microsoft.Phone.Controls.Toolkit' could not be found?

断了今生、忘了曾经 提交于 2021-02-07 08:31:52
问题 The referenced component 'Microsoft.Phone.Controls.Toolkit' could not be found? It's here though? 回答1: It looks like the problem is that you're trying to reference a copy of the Microsoft.Phone.Controls.Toolkit .dll in your Ref folder, but Visual Studio is probably looking for somewhere else. If you open Visual Studio and expand the References folder in the Solution Explorer, you'll probably see that Microsoft.Phone.Controls.Toolkit is listed but marked with a yellow warning icon. Try right

how to add a reference of a user control in a xaml file which is shared by two projects

笑着哭i 提交于 2021-02-05 11:31:06
问题 I have created a class library(CustomMapControl) in the solution and inside this class library I create a UserControl(MapItemsControl). Now, I added a reference of this class library to both projects (Portogruaro & Trieste). Here is my solution structure. Portogruaro is the main project and has all files, Trieste has almost all the files which Portogruaro have added as a reference. So, the problem is when I tried to use the CustomMapControl and drag and drop it in xaml from toolbox it doenst

How can I change the text of a texbox in every second?

让人想犯罪 __ 提交于 2021-01-29 02:09:18
问题 I have a texbox and I want to change it's content every second in Windows Phone 7.. For example I have an int list and I want to show it's first value.. then 1 second later the second value. 回答1: DispatcherTimer is what you're looking for: http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer%28v=vs.95%29.aspx Create a new instance of DispatcherTimer, set it to tick every second, and update the textbox in the callback function. 回答2: Have a look here. http://www

How can I change the text of a texbox in every second?

点点圈 提交于 2021-01-29 02:06:13
问题 I have a texbox and I want to change it's content every second in Windows Phone 7.. For example I have an int list and I want to show it's first value.. then 1 second later the second value. 回答1: DispatcherTimer is what you're looking for: http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer%28v=vs.95%29.aspx Create a new instance of DispatcherTimer, set it to tick every second, and update the textbox in the callback function. 回答2: Have a look here. http://www

load URL into WebBrowser with MVVM

二次信任 提交于 2021-01-28 04:57:16
问题 I'm makeing an app where you have a listbox in the buttom with a logo of different websites, and a WebBrowser on the top. The idea is that when you press on a logo, the webBrowser load the corresponding page. I already make this work, but I want to remake the app with MVVM to make it better. I've made the listbox with all the logos, but I dont know how to load the URL onto the WebBrowser when I click on the logo. 回答1: Not 100% sure if this will work on Phone7 but worth a shot... Fist off the

Disable the vertical scroll-behavior of the scrollviewer in windows phone

吃可爱长大的小学妹 提交于 2021-01-27 05:44:43
问题 I am using a scrollviewer to show some buttons displayed horizontally, I can use the scrollviewer to scroll from left to right, and visa versa. But the user can still drag and scroll downward, though the scrollViewer wil scroll back to the top automatically. This provides a bad UX, thus I want to disable the vertical scroll-behavior of the scrollviewer, user can just scroll horizontally. any thoughts? thanks. <ScrollViewer Grid.Row="2" HorizontalScrollBarVisibility="Hidden" Width="auto"