expression-blend

Load higher quality smooth streaming bitrate on start

馋奶兔 提交于 2019-12-14 02:35:57
问题 Is it possible to adjust the way in which smooth streaming xap bitrate is first started? As it is right now, the player shows a low quality stream until is has buffered the higher quality. Can I change this to allow for the higher quality on start? If so, how? (I've already seen this question, but I am not using the media platform player.) IIS Smooth streaming low quality on start 回答1: The answer on you link answers your question. All that you need is to replace the plugin by properties and

Debug Visual Studio or Blend Silverlight / WPF designer load errors?

为君一笑 提交于 2019-12-14 00:52:49
问题 Is there a way to debug Visual Studio or Blend so I can figure out where XAML designer load errors come from in my code? The stack traces are often useless. Thanks... 回答1: Use two VS2010 instances. Load one with your main app probject or a test harness application project and load the other with your controls project. Having built the controls project reference the debug dlls in your other project. Debugging from the VS2010 instance holding the controls project attach to the VS2010 instance

Inheriting from a UserControl abstract subclass

寵の児 提交于 2019-12-14 00:33:57
问题 I have a set of UserControls that need to have a few similar properties. Thus I have defined an abstract subclass of UserControl that defines these properties and updated the .xaml.cs and .g.cs files to inherit from this base class. All compiles well and runs well. Great! But.... .g.cs files are generated and will be regenerated, so how do I tell Blend or Visual Studio to keep inheriting from my base class rather than UserControl? 回答1: You need to change the XAML a bit to prefix the

Are Expression Blend design-time specific visuals possible?

陌路散爱 提交于 2019-12-13 14:54:35
问题 I'm trying to design some UserControl classes in Blend 3. I want parts of them to be "collapsed" when created at runtime, but I want to be able to edit their component parts without fiddling with code every time I want to build. It works with sample datasources, as the following example illustrates. But it doesn't appear to work with other properties... or am I doing something wrong? With a sample data source SDS_AIVertexAction We can do this in Expression Blend: <UserControl xmlns="http:/

how to get to Grid x:Name=“ControlPanelGrid”

六眼飞鱼酱① 提交于 2019-12-13 08:11:22
问题 I have the following xaml and I am trying to get to the Grid to make it invisible at some point in my code if the code reaches there. Being new to .net and silverlight and xaml I am not sure why my code behind doesn't find Grid Controlpanel please see my xaml code here <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas

DisplayStateBehavior not initially applying state transition in listbox item template

限于喜欢 提交于 2019-12-13 04:43:12
问题 I have a listbox item template that contains visual states. I have DisplayStateBehaviors that set the states to either the on/off states. My implementation only 1/2 works. On initial display, the base state is active, regardless of the value in the DataContext. When the data in the DataContext changes, the proper state is activated. How do I get the proper state displayed on initial display of the listbox. For security reasons I can not copy/paste XAML or View-Model code. Edit : While I can't

Design time data in Windows Store app

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 04:28:03
问题 In WP7 I am used to generating sample data (XML) from my ViewModels in Blend and seeing them in Visual Studio. In Blend 2012 I cannot find the option to generate design time data. The tempales in Visual Studio use design time data genarated in code. Is it the only way? No more XML design time data? 回答1: I don't think generating design time data in Blend for VS2012 is possible, but it's still possible to use design time data created in code, but even this is more complicated than in WP7.

ExpressionBlend exception when UserControl contains my custom control

喜欢而已 提交于 2019-12-13 04:22:41
问题 I can edit this UserControl just fine in visual studio but I get this strange exception in expression blend. Does anybody know what should I look for? UPDATE I wasn't able to figure how to debug/attach. I did everything as instructed by Mike but no breakpoints got hit. I did more investigation and found that most likely my issue related to themes/generic.xaml My visual studio solution has project named Infrastructure.dll . Inside that project I have folder themes and inside I have file

How bind BorderThickness in template?

孤人 提交于 2019-12-13 04:09:22
问题 I'm trying make a simple control, with a some path in it. And binding Path's Fill, Stroke and StrokeThickness properties to template's Background, BorderBrush and BorderThickness.Left. <Path x:Name="CorePart" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness.Left} ..." But one problem: StrokeThickness do not want to binding. Silverlight report: "The name BorderThickness does not exist in the namespace http://schemas

Expression blend & WPF

我的梦境 提交于 2019-12-13 04:06:22
问题 suddenly i found wpf project type is there in expression blend. i just do not understand why people create WPF project from expression blend because for that VS IDE is there. i am new in wpf so please tell me in what situation user will create wpf apps from expression blend and also tell me what is the difference between expression blend & VS2008 IDE wpf project type.. please explain in detail.thanks 回答1: The projects are the same - you can even arbitrarily switch between the applications at