I'm currently looking into different options for unit testing Silverlight applications. One of the frameworks available is the Silverlight Unit Test Framework from Microsoft (developed primary by Jeff Wilcox, http://www.jeff.wilcox.name/2010/05/sl3-utf-bits/).
One of the scenarios I'm looking into is running the same tests on both Silve...
I'll try to make this as simple as I can.
I want to do this:
<Storyboard x:Name="MoveToLocation">
<DoubleAnimation Duration="0:0:0.5" To="{Binding X}" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="grid" d:IsOptimized="True"/>
</Storyboard>
As you may have noticed the...
Hello all, I have an intriguing question.
Let's say I want to play an animation or change the visual state etc of my view FROM THE VIEW MODEL.
How can I do that?
Its for building an MVVM application on windows phone 7.
...
I have a ListBox in a grid that gets databound when the page loads... pretty straightforward. The problem I'm having is that, after the box is databound, I can scroll... but not all the way to the bottom of the list. It stops an item or two short and won't let me scroll anymore. Here's the listbox XAML:
<Grid x:Name="ContentGrid" Grid.R...
I'm thinking about getting a small touchscreen to work with the Windows Phone 7 emulator... but will the developers tools support multi-touch from a touchscreen? I've only seen it with single mouse clicks so far...
...
I downloaded the Microsoft Visual Studio 2010 Express for Windows Phone and I wrote a simple application to make a first test of the emulator. In this application I have only a button with the property Content binded to a string called ButtonText and with the property Background binded to a SolidColorBrush named FillColor. I handled the ...
I'm starting to use the MVVMLight framework and have a question about binding to properties in the ViewModel. I found that I have to call the RaisePropertyChanged method in the setter for the property in order for the View to be updated. And I have to call RaisePropertyChanged from through the dispatcher otherwise I get a thread access...
So I installed the new april release of the VS2010 express for windows phone 7 and now VS2008 express C# no longer opens .csproj files. I'm at a loss as to why this is as I've not changed anything in the files themselves. I'm currently uninstalling windows phone 7 in the hopes that I will be able to open my files again. I have a feeling ...
Dear all,
I downloaded the Windows Phone 7 SDK yesterday but when I installed it on my Windows XP it complaint that it needs to be installed on Windows 7. My question is, is it possible to install the Windows Phone 7 SDK or develop for Windows Phone 7 on WinXP? Is there any workaround that has been made to overcome this?
Thank you for ...
Hello,
I've created a storyboard for a button in blend that I want it to apply everytime the button is pressed, So I tried to create a style,I've been stucked for a long time now.
here is the code of my Storyboard:
<Storyboard>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.S...
I am porting an iphone game to windows phone 7. iphone works fairly similarly to Winmo7 in that you add all the files you want to be able to read to the project. we didn't want this extra step in our asset creation pipeline, so we just made it so all files were put into our own basic file archive, then just added that one archive file to...
I have a windows phone 7 silverlight app that I'm trying to unit test. My tests fail with the following error:
System.DivideByZeroException : Attempted to divide by zero.
On the following line:
Deployment.Current.Dispatcher.BeginInvoke(() => RaisePropertyChanged("Lat"));
I assume this is because there is no ui thread. Do I need to ...
I'd like to know how different is development of applications for the Windows Phone 7 OS, in comparison to versions 6.x of that same operating system?
In version 7, is it simple for an application to allocate custom amounts of heap space to process signals such as image and sound?
Also, i read that Windows Mobile 6.x applications are n...
I Create new Windows Phone 7 Project
Add the following references to my project:
-Microsoft.Maps.MapControl.Common.dll
-Microsoft.Maps.MapControl.dll
I insert BingMap Control in new Page
When I try to run on Emulator I get request
for add following reference to System.Windows.Browser.dll
Then add the reference to myproject from th...
Hi
I'm making a business mobile app to run on Intermec rugged devices. I would like to use XAML/Silverlight/WPF. It seems that this is not possible and I will need to use WinForms. Can any gurus confirm this please?
Thanks a lot.
Mark
...
This morning, I feel stupid. I created a simple WCF service, just compiling and running the default WCF Service Application (.NET 3.5). I then tried adding a service reference to a Windows Phone 7 application but got a warning:
Custom tool warning: Endpoint 'WSHttpBinding_IService1' at address
'http://localhost:50133/Service1.svc' is no...
One of the reasons why I don't want want to go the iPhone development path is because there isn't much to do with Objective-C language. You either develop iPhone or Mac apps with it.
If I go the Windows Phone 7 development path, can I apply my Silverlight skills in other areas besides the mobile phone development? Is Silverlight useful ...
What Windows Phone 7 demo/reference applications have you seen which really made you interested in developing for the platform?
I know of Scott Gu's Twitter example and Foursquare. Also see here for MIX10 demo apps.
Other than developing games and re-creating functionality already present on other mobile platforms (iPhone, BlackBerry,...
Is it possible to use optional parameters (and other purely-syntactical C# 4.0 features) in Windows Phone XNA applications?
I've read and heard conflicting information about this. In the Advanced Build Settings for my application, the Language Version is set to C# 3.0 (C# 4.0 is not available in the Language Version drop-down list). Is ...
Where can i find information about Windows Mobile OS or Android.I need to know, if they support SDL or not.
Does all android phone support SDL?
...