problem about expression-blend-Collection of common programming errors
John Rudy
silverlight silverlight-2.0 expression-blend blend
I have Expression Blend 2, Service Pack 1, and cannot create a Silverlight 2 project. When I attempt to create a Silverlight 2 project, I get the following error:Blend cannot continue because a compatible Silverlight version could not be found.I installed Blend a few weeks ago, and service packed it yesterday. The order I did things is as follows:”old school” dev stack (VS 2005 Pro, SQL Server 2005 Express, SQL Server Mgmt Studio 2005, Infragistics, etc., all ages ago) Visual Studio 2008 Develop
Brad Tutterow
silverlight xaml expression-blend
Quite often when coming back to Visual Studio from Expression Blend 3, I see that Blend has helpfully added a “d:LayoutOverrides” property to my XAML. Growing up with ASP.NET designers, I naturally distrust anything I wouldn’t type myself, so remove them as soon as I see them. I know that “d:” properties are designer-only and don’t impact runtime, but can anyone offer any insight into what this property does and why Blend would be so insistent that I have them all over my markup? <Border d:L
Make It Perfect
c# silverlight xaml expression-blend visualstatemanager
Basically we need to update the layout at runtime depending on some logic. For achieving it we are using visualstatemanager. Now in a scenario we have to move our controls from the grid to a tabcontrol (which is also part of the same grid). Any idea that how can we achieve this?Would prefer to get it done using xaml (VisualStateManager) instead of writing the code to remove the control from grid and add it into tabcontrol.
Shamim Hafiz
wpf visual-studio-2008 xaml user-controls expression-blend
I am working on a WPF App which has been working fine for some time. Recently, the XAML user controls do not show up properly on Visual Studio 2008 though the Application runs fine. It shows a long list of Exception messages. For convenience, some of the messages are listed below.Exception has been thrown by the target of an invocation.Exception has been thrown by the target of an invocation.’/Microsoft.Windows.Design.Developer;component/themes/GridAdorners.xaml’value cannot be assigned to prope
Joel Coehoorn
.net visual-studio-2010 permissions expression-blend
I started a Silverlight project in VS2010 Beta 2. Using parallels on my Mac and I´ve added this to the Web.Config to compile succesfully:<runtime> <loadFromRemoteSources enabled=”true”/> </runtime>But the page loads with this Error and I searched a lot without success:Server Error in ‘/’ Application.Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below an
CodeSlave
visual-studio xaml expression-blend
I am working with Blend and Visual Studio to create Surface content. Pretty much every item I place and customize in Blend will look different at runtime or when looked at in Visual Studio. The cause of this seems to be because width/height is not always set in the XAML-file – only margins. If the size of the workspace is different this will obviously cause problems.Where do I check/set the size of the project in Blend and how do I make sure that the items/animations I make in Blend will look th
Doug Ferguson
wpf silverlight mvvm expression-blend
In WPF and Silverlight you can make a view model object and set it into the DataContext of a control when the control is constructed at runtime. You can then bind properties of the visual object to properties in your DataContext.One way to set the binding is to type the binding directly into the tag:<TextBox Text=”{Binding Path=Description}”/>And this will bind the textbox to the Description property in the view model.The problem with typing in the binding is that you may make a typing mi
Dan Auclair
c# silverlight expression-blend resourcedictionary mergeddictionaries
I have a set of styles and brushes defined in a ResourceDictionary that I am loading as a MergedDictionary in XAML of my top-level control:<ResourceDictionary.MergedDictionaries><ResourceDictionary Source=”/MyAssembly;component/Styles.xaml”/> </ResourceDictionary.MergedDictionaries>I am trying to optionally replace some of these styles & brushes if a different XAML file exists in the XAP with its own ResourceDictionary. I am trying to merge in this dictionary at runtime bef
Aliens
windows-phone-7 layout expression-blend visibility
I am using Expression Blend for Windows Phone development. If I insert a layout (grid, stackpanel..) that expands LayoutRoot I cannot see the controls beyond the border. Is there any way to overcome this?
Stan
silverlight expression-blend
I have a solution that needs to build Silverlight projects on a computer that doesn’t have standard editing tools like VS or Expression Blend. From Expressions, I do need the font embedding and media processing capabilities of the Blend SDK. For Silverlight, I need to build for these 3 runtimes – SL3, SL4 and Windows Phone SL3. I am going to be using MSBuild and prefer the .NET 4.0 runtime on my build box.Can anyone recommend to me what the bare minimum for this kind of build scenario would be i
mattytommo
wpf silverlight xaml expression-blend blendability
I feel as though I still see a lot of guidance and advice stating that a view-first approach is the best way to go to get Blendability in your application. However, with d:DataContext, d:DesignData and d:DesignInstance, isn’t the problem of Blendability easy to solve regardless of how your views and viewmodels are wired together?With DesignInstance, you simply pick a concrete ViewModel type to be used in the designer, and it’s as if you’ve got view-first composition. In fact, using DesignInstanc
mfanto
wpf expression-blend sketchflow
I’m having a little trouble as I decide how to structure my projects. This question is slightly subjective, but I’m having trouble conceptually. If I create a wpf blend project (sketchflow right now), it creates two projects, “Project” and “ProjectScreens”. Is this the best layout to use? The issue is, I have classes and code (networking, file i/o, etc.) that I need to reference within the screens (i.e. they click a button, it creates a network connection), and the core code needs to reference t
pileggi
wpf performance expression-blend dynamicresource staticresource
To realize my application I have used a lot Blend3. When Blend3 wants to link a resource to another resource, it uses many times the link-type “DynamicResource”. As I have understood (but I could have understood not well), the “Dynamic” links have sense only if I want to modify the links at runtime. In other cases they use more memory in vain. I don’t want to modify anything at runtime, then the question is: have sense to replace “DynamicResource” with “StaticResource” in all my application? Tha
Tomasz Nurkiewicz
expression-blend crud
I want to add item to Sample Data but it does not submit change. How can i submit change in SampleDataSource? they are change in runtime but when i run it again it did not submit changes. Please guide me on that
John Rooney
wpf xaml user-interface expression-blend
I’m trying to make a grid to be resizable by the user at runtime. I found a quite a few examples, but they all seem to make it a overly-complicated by using adorners etc.I did, however, find an ideal solution here:https://resizablegrid.codeplex.com/It’s using thumbs, and seems very simple. However, when I edit the template (to remove all thumbs except the one in SE), it breaks – it is no longer resizable (and this is even if I make no changes to the template).I’d like just to use one simple co
skaffman
c# wpf xaml animation expression-blend
I am trying to make a TranslateTransform animation. In the animation, I need my object to remain at the center of the window. I know WPF animation is Freezable. I am using a converter, but it initializes values at startup. Is there any way to set the value of EasingDoubleKeyFrame at runtime?Here is my XAML code:<Storyboard x:Key=”Storyboard1″><DoubleAnimationUsingKeyFrames Storyboard.TargetProperty=”(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)” Sto
timothymcgrath
wpf xaml expression-blend blend
I have a large WPF application and am trying to use Blend 3 to speed up my UI design on some portions of it. The problem I run into is that I have different skins that the user can use, so I load the ResourceDictionaries and Converters at runtime at the Application level.Because of this, when I open a .xaml file in Blend, it can’t find the brushes/styles that are referenced, which means I don’t get the real look of the UI that I’m modifying.The only way that I have found to fix it is to add a r
user1938408
xaml expression-blend cad
I’m trying to import cad model into blend and then make some storyboard on it. Idea was to export xaml file from solidworks and then import it to blend.File open in blend, model is displayed correctly and every thing works until i zoom/move or make any action that results in immediate program crash.Xaml file is about 5mb, and outside blend works fine in my program i can rotate,zoom it freely with good performance.Have anyone encountered similar problem, or have good method for converting cad->xa
McGarnagle
windows-phone expression-blend blend
Is it possible to use Blend to open any Windows Phone project on a Windows 7 dev machine? Of course, on Windows 7 you can’t install the Windows Phone 8 SDK. And when I try to open a Windows Phone 7.1 solution in Blend 2012, it crashes without explanation:Alternatively, is there any other way to extract control templates from WP controls?
David Veeneman
visual-studio-2010 expression-blend
Is anyone successfully using Expression Blend Preview for .NET 4 with the RC of VS 2010/.NET 4? I installed EBP beside Expression Blend 3 on my development machine. It launches okay, but when I try to open a solution created with VS 200, it crashes.Has anyone else run into this? Is there a fix? Thanks.
CodeWarrior
wpf expression-blend
I understand that Visual Studio 2010 is being released 12 April, but does anyone know when Expression Blend for .NET and WPF 4 is being released? I have the beta, but it is pretty buggy and it crashes a lot.I have not had much luck searching for the release date, so any help would put my mind at ease.Cory
user3035549
expression-blend blend passwordbox
I try use this method: http://joyfulwpf.blogspot.com/2009/02/creating-wpf-watermarked-textbox-using.html to create watermark in PasswordBox. Unfortunately when I do this Blend is crash. Visual Studio 2012 also doesnt properly reads this code. In TextBox everything is ok.Please give me some suggestion.Gratefully, Turban
Jay Borseth
expression-blend blend
I seem to be adept at making Expression Blend 4 crash at startup. The problem seems to be related to a deadlock initializing static managed and unmanaged variables as Blend first opens my solultion which has a mixture of unmanaged C++ and managed code projects. Blend crashes instantiating my ViewModel (I’m using MVVM Light in App.xaml, but I would think this isn’t really relevant). This page describes in detail how to detect and correct this potential deadlock: Initialization of Mixed Assembli
tig
silverlight visual-studio-2010 expression-blend windows-phone-7 mvvm-light
This is not really a question, but an assertion. Posting this so that others can avoid this problem.If you use Mvvm-Light (and maybe other Mvvm frameworks) and have code in your ViewModel that runs on a thread other than the UI thread, VS2010 and Exression Blend will likely crash when trying to view/edit your XAML in design mode.For example I have a CheckBox bound to a property that is implemented by an object that gets updated on a background thread:<CheckBox Content=”Switch 1″ IsChecked=”{B
fincooper
wpf expression-blend pixelsense
I’m building a Surface2 project using WPF. I’m using Visual Studio 2010 with SP1 and Expression Blend 4 with SketcFlow.When I open the project in Expression Blend, the program stops responding, after loading up the designer view for the main view xaml. I then get the option to either kill it or debug it in Visual Studio.In the xaml view, I only have a scatterview, a map control and a tag visualizer.This is the error I get when debugging this in Visual Studio:System.InvalidOperationException was
chobo2
windows-phone-7 expression-blend panorama-control
I want to get rid of that Panorama Title as I don’t like it all. I am trying to edit it’s style through blend which I was able to do but now when I swipe back and forth in the panorama it dies<controls:Panorama Height=”600″ Margin=”0,0,180,-149″ Title=”panorama” Width=”300″ Style=”{StaticResource CustomPanoramaStyleTemplate}”><controls:PanoramaItem Header=”item1″><Grid/></controls:PanoramaItem><controls:PanoramaItem Header=”item2″><Grid/></controls:Panorama
aush
wpf xaml binding expression-blend multibinding
xaml:<TextBlock Text=”SampleText”><TextBlock.TextDecorations><MultiBinding Converter=”{StaticResource sampleMultiValueConverter}”><Binding/><Binding/></MultiBinding></TextBlock.TextDecorations> </TextBlock>Converter:public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) {return TextDecorations.Underline; }In vs2010 all works fine and shows underlined text in designer as like as in running app. When I made it
skaffman
.net expression-blend expression-sketchflow microsoft-expression
I got a serious problem with MS Expression Blend 4 (MSEXB4): I made a prototype for an application. When I start the project by hitting F5 MSEXB4 crashes. When I remove the sketchflow-map it works, but no screen is loaded. But I want to have a sketchflowmap to show some screens -.-I started debugging in VS2010:The error:{“Unable to generate a temporary class (result=1).\r\nerror CS0009: Metadata file ‘c:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\WindowsBase\\v4.0_4.0.0.0__31bf3856ad364e35\\Wi
Den Delimarsky
c# .net wpf visual-studio-2010 expression-blend
I’ve been working on a WPF application. Since I design the UI in Expression Blend 4 and work on the code-behind part in Visual Studio 2010, I constantly switch from one tool to another.I added some Image controls to an existing Grid and assigned some images to them. In Blend, I built the project and ran it. Worked just fine. When I switched to Visual Studio, I am getting this error:Undefined CLR namespace. The’clr-namespace’ URI refers to anamespace ‘MS.Internal.Media’ that isnot included in the
Mayur Kotlikar
c# silverlight prototype expression-blend
I am currently creating a proto using Expressions Blend.I created a SampleDataSource and added Collection. This collection has 5 simple properties.After setting that up, I dragged and dropped the SampleDataSource to the Silverlight page that i created in Blend (same project) and created the Datagrid.The SampleData and the grid works well.Now when I open the same page in Visual Studio 2010 I get several errors: The most significant I find is: Error 4 Undefined CLR namespace. The ‘clr-namespace’ U
Web site is in building