When I start Expression Blend 4 (for Windows Phone 7), I have all the behaviors (in the assets) loaded:
I want to add the MouseDragElementBehavior to a rectangle in my project.
But, as soon as I drag and drop the behavior on to the rectangle, all the behaviors "disappear":
My Expression Blend 4 version is 4.0.30816.0. Why is this problem occurring? I did a reinstall, but the problem persists.
I just tried to recreate this on my system but it worked correctly. Can you verify the Blend version number? Mine is 4.0.20901.0
In Blend I don't find drag and drop to necessarily be a bad practice. There are areas where it can get you into trouble, such as data binding, and dropping visual elements on the screen will typically leave you with clean up work to do. That being said, with behaviors I find drag and drop to be the preferred method of associating them with elements.
I have this problem too. I did this solution:
Create your Windows Phone project in Visual Studio
In the folder 'References' from the Solution Explorer, right-click and select Add Reference...
In .NET tab, select the component "Microsoft.Expression.interactions"
Click Ok
Open this project in Blend
Try to add your behavior into an object in the TimeLine
I believe you cannot use Behaviors within a Windows Phone 7.0 project, only in a Windows Phone 7.1 project with Silverlight 4.
Never mind, seems to work with a 7.0 project, too ...
Related
I've recently (about 3 months ago) started using Visual Studio 2017 Community, v15.6.2. Questions that stump me:
1) How do I get all my windows to be tiled and remain on-screen as I move from one window to the next? At the moment I could have two or more windows in the workspace. As soon as I click on one to work in it, the others disappear. Don't know how to fix it!
2) What is that cross that appears in the center of the workspace when I am busy moving windows around. Cross seems to have arrows and made up of blocks by the looks of it.
3) How do I get the Properties Window to be vertically tabbed on the rhs side of the workspace? i.e. if I click on the Properties tab the Properties window appears, else it is not visible.
Thanks in advance.
By default only one code file is visible in VS. To see multiple code windows at once you can create several tab groups or float document windows outside the IDE. Another option is to use my Task Canvas extension - after you add code files or fragments to the Task Canvas window they are automatically tiled.
For the guide diamond and other window management options please refer to the Customize window layouts in Visual Studio documentation.
In Blend, for some reason, I don't see the storyboard option PLUS sign button (#5) as described in this document link under section "Tour of the Objects and Timeline panel"
https://msdn.microsoft.com/en-us/library/jj171012.aspx
Basically I have the whole row with 2 - 5 missing and as a result I see the objects & timeline tab and right below in 'Page'.
I found out this feature was remove in an update. Is there a work around to create animation like I could w/ the storyboard like this guy is doing starting at 3:20?
I attached my screen shot.
This is a known issue. You could see it from Visual Studio Developer Community Blend storyboards missing ("Objects and Timeline")
As far as the missing storyboard UI is concerned, we do not support most Blend features like this in the new designer that you get when you target RS3 (10.0.16299).
So, as suggested by Marco Goertz, the workaround is you could temporarily retarget your app (lower to at least "Anniversary"), then the storyboards will show up again.
The icon for Visual Studio on my Windows 7 taskbar is animated with a green bar moving left to right. What does it mean, and how can I stop it?
http://i.imgur.com/v1AEcue.jpg?1
I've not got any extensions installed, but I do have resharper (version 7 until I can afford to upgrade). I can't find anything relevant through google, and I can't see an option in the options panels.
The animation is used to represent progress. It's the same as for file copies (for example). I've seen ReSharper do this while running unit tests. Perhaps that, or maybe another extension?
I know this is an old post, but I am still experiencing the issue where the animation persists even though the tests have long finished (with VS2015 and Resharper 2016.1.2).
One way to get around this problem is to disable taskbar animations altogether:
I would like to use a horizontal WrapPanel in my application (like the People Hub). However, I have to start with a SketchFlow project.
My question is: how can I do?
In fact, I saw that I had to add the dll to my project but how do next? If I extend my panoramaitem, rendering is not pretty (the second item does not move).
Screenshot http://upload.yamalandia.com/rep1/247871330688.PNG
In this picture you can see how it looks: it's not nice.
Could you post the xaml?
Just to verify, you added a reference to the SL toolkit dll from the SL version (not the Windows Phone version, as you are actually creating a SL app in SketchFlow).
If that control in the screenshot is the wrap panel, you could set it to an explicit size to fix the problem most likely.
I'm creating my first Windows Phone 7 application, and I'm struggling to find an autocomplete textbox. Is there an easy way to add one to the toolbox? Or do I need to create my own control?
The one from Silverlight 3's SDK, the AutoCompleteBox, works relatively well on the phone. It requires minimal styling changes to work.
There is a known issue today where selecting an item that pops up requires two taps: one to select and another to "really" select. We should have that issue in the platform (the bug is not in AutoCompleteBox) fixed by the time the phone development experience is ready.
AutoCompleteBox is in the Silverlight Tookit so you have to add a reference to that in your project.
After investigating it appears that there's not an auto-complete textbox control for windows phone 7 applications, so I've had to create one myself...