Create a slanted-tab header in Silverlight - silverlight

I wanted to create a slanted tab header using the tabitem control in the silverlight toolkit. I want it to look like the image below but i'm not sure how to accomplish this.
alt text http://img713.imageshack.us/img713/1462/silverlighttabs.png
http://img713.imageshack.us/img713/1462/silverlighttabs.png
Any help and direction would be gladly appreciated
Thanks,
Keith

A quick search at SilverlightCream.com popped this one out:
http://antonidol.wordpress.com/2010/05/12/overlapping-tabitems-with-the-silverlight-toolkit-tabcontrol/
-Dave

Related

A nice-looking WPF knob control source code?

I am trying to make some rotary knob with WPF and C#, .NET3.5; So right now what I am having is:
but instead, I really want to have something like these:
Anyone has any idea how I can make it look nicer? I am writing the WPF code from scratch. Thanks a lot.
You are using SolidColorBrush right now. Play with RadialGradientBrush instead to achieve the look.
You can create such an effect by finding a nice pictue of a knob, and then apply a rotatetransform on it.
If the picture contains the scale, you will need to edit that out to an other image, which can be under the knob picture.

Is it possible to display a frame during a CameraCapturetask on WP7?

I would like to use the CameraCapturetask on my Silverlight WP7 application. On the background, I would like to display a photo, for example something like that :
(found randomly on the web).
This could act as a mask, and we will see the photo of the camera behind this frame during the take of the photo.
(I'm not sure I'm very clear).
Is there a way to do that ?
Thanks in advance for any help.
Best regards
No, you can't put this on top of the CameraCaptureTask.
You could add the border after the photo had been taken though.

How to achieve rotating form effect in wpf

I would like to make a rotating form WPF effect like the one in the norton antivirus 2010.
The effect is a rotating form that changes the contents when the other side is shown. But the axis is not in the center of the form but moves from side to center and back. Like a three step effect.
The rotating form can be seen at 8' 07" in this video: http://www.youtube.com/watch?v=A3hHPdgi9Nk&feature=related (I'm sad but this was the only video I found on YouTube)
Thanks.
Have a look at the Thriple stuff on CodePlex: http://thriple.codeplex.com/
It's almost exactly what you're after.
Hope this helps.
I did not examine the details, but I know that Microsoft's patterns & practices team also uses a similar animation in their "StockTrader Reference Implementation" for the "Composite Application Guidance". They sub-classed the TabControl and added some animation to it. I think the relevant code parts can be found here:
AnimatedTabControl.Desktop.cs
Generic.xaml
just verify this link. It has code as well as the Sample.
From the Sample take the TransitionPresenter link from the left panel and choose the 3D Rotate item from the listbox. Then select the images from the top list. You can see the same effect in the video. I saw some initial sanp of the video and may be this link can help you.
http://bot.codeplex.com/

Best way to Design Relational Silverlight Diagram

I want to design an associate silverlight diagraming surface where you can type in boxes, and then drag these boxes around and link them up to other boxes using lines, arrows. My first problem is what is the first step to take to go about this approach? I am looking for something like a mindmap or visio diagram.
Thanks,
Eric
Hi give a try to SilverDiagram (it contains a free and commercial license):
Demo
http://www.silverdiagram.net/Scripts/SD.Client.MainTestPage.aspx
Site
http://www.silverdiagram.net/Projects/Silverdiagram.aspx
Samples
http://silverdiagram.codeplex.com/
I found my own answer to this question for anyone who is interested: http://forums.silverlight.net/forums/p/23895/89599.aspx

Need a WPF rendering tip

I want to make a WPF Grid in which users can drag and drop controls from one cell to another and when the user is dragging I need to draw tips on the screen, like arrows. It's as if the tips were in ANOTHER LAYER in the screen. That is, they are not drawn IN the grid I mentioned.
The problem is: I don't know how to OVERLAP a "transparent" canvas over my Grid so that I can draw on it.
Do you experienced guys have some tip? THANKS.
I think what you are looking for are Adorners. You can read something about them here:
http://marlongrech.wordpress.com/2008/02/28/wpf-overlays-or-better-adorner/
Heres an example with a listView control, pretty good.
Heres a tut also decent.
And even a section in msdn

Resources