i am developing a solution using Expression blend 3 and i have a problem because my background images wont show up in design time, in run time i can see them.
As you can see in the attached picture there is no image in stackpanel.
Is there a solution to this?
Best regards,
Luka
In blend you should be able to just drop and drag the image onto the workspace from your projects folders, blend then adds the xaml on the fly. If its not in your project folder you should create a images folder and "add existing item" then browse to the image.
Related
I am creating WPF application, I want ribbon menu like this link. I am using MahApps Metro style window. How to add a ribbon menu in the metro window. I tried lot of codings, but didn't work. So please kindly send a procedure or coding for the ribbon window. Thanks..
You could try to use Fluent.Ribbon.
It's open source, should work well with MahApp.Metro and the showcase application shows both being used together.
Just download the showcase application, unzip it, run it and have a look at the tab below the ribbon which has the "Test" header. Said tab contains a button "Open MahMetro-Window" which you just have to click.
The most recent showcase application can be downloaded from appveyor. Please note that there is no separate zip package for the showcase application. There is only one zip package containing everything you need.
Disclaimer: I am the current maintainer of Fluent.Ribbon.
Ribbon control which is similar to the Microsoft Office Ribbon Bar is available in WPF.
Check this.
See this also.
How can I customize the TimeSlider provided with ArcGIS API for WPF. Is it possible to access the Play button in the TimeSlider.
Thanks
Its pretty simple. You can open the your project in Expression Blend and go to the TimeSlider in the project Navigator in the left hand side, then right click on it and choose edit Template. Choose Create a Copy and then you can see the Style of the TimeSlider in the XAML file. You will find PlayPauseToggleButton in the Style.
I have a Winform application and I would set two different icons, one for the application shown in the taskbar and the left-upper corner of the window and a different one for the ALT+TAB switch.
The properties Icon of the Form sets only the small one but seems that it is used also for the ALT+TAB view.
In Visual Studio 2012 I've already tried to select a diffenrent icon under Project Properties > Application > Resources > Icon and Manifest.
Any help will be appreciated!
I got the solution which is quite simple. Basically I created a multi-size icon with the same image (64x64, 32x32...) and I changed the 16x16 size with another icon. In this way you can have different type of icon inside one.
I'm opening valid XAML within my VS2008 solution in Expression Blend 3 and it is only showing XAML when I try to open individual XAML files. My solution/projects all build and run correctly.
When I go to View -> Active Document View the Design View, Split View and XAML View options are all grayed out... which doesn't make much sense.
I'm not much of a Blend user, but this has never happened before, and I'm coming up blank for how to fix it. Any ideas?
How did you create your project ? Did you use the "Class library" templates in Visual Studio ?
I remember I had a similar problem. You can create a new WPF project and compare the CSPROJ with the one not working in Blend. You should be able to see the differences and add the missing lines in your CSPROJ.
HTH
For me, the problem was solved by changing the target framework of the project - I was using 4.5, but Blend could support max version 4.0 - try that...
open the project file in notepad and add the following line within the <PropertyGroup>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Found the solution here -> link text
At the moment I'm using Silverlight RadControls from Telerik. In my site I've implemented the RadUpload control. Because the control is not styled the way I want, I'm restyling it for my site. The way I'm doing this is as follows: Right click on xRadUpload > Edit Template > Edit a Copy. After doing this I'm able to style almost everything, except for one thing.
During runtime of the Silverlight application, the xRadUpload enables users to upload files. Those files that are selected using the browse button, show up in the application in several bars. I want to restyle those specific bars.
The problem is, I can't find those bars using Expression Blend.
I've already looked at the Telerik help documentation. It says that if you want to restyle the control you need to edit the following control templates: RadUpload and UploadItem.
After reading this I think I need to edit UploadItem, but I cannot find it, while my application works correctly. Has anyone encountered this problem before, who can help me?
Looks like Telerik has listed the items that are required in the UploadItem control. If you want to get the control template you can open the Telerik dll in Reflector and in Reflector look in the Resources folder for the dll. You should see the generic.xaml in there and you can double click it to open the file. In that file you should see the control templates.
My problem is solved, for the solution go to http://www.telerik.com/community/forums/silverlight/upload/xradupload-styling-problem.aspx