How to move ChildWindow in Silverlight - silverlight

This one and similar don't work for some reason. Actually I want my Child Window to recenter itself once it's height changes. For example I add list items and I want it to go a bit upper so that it is still in the center.
Silverlight 4.

Ok, I am going to answer this question by myselft. Answer is here. Important thing is that where this code is placed. Check full answer by Rui Figueiredo, it is in last post in that topic.

Related

AndroidPlot Remove cursor from plot

thanks to this post :
Get the correct position of a point in AndroidPlot
i manage to display a cursor near a point of my plot.
Now i want to remove this cursor from the plot.
First question : How can i do that ?
Second question : I found a trick not to see it by displaying it in a non visible area of the plot (-1,-1) But i can't update this in a long press event click on the ploy. Although i manage to do this in a button click. Is there an explanation?
Thank you
Regarding your first question, in version 0.9.6 and later, you can disable the cursor(s) by setting the corresponding paint element to null:
plot.getGraphWidget().setDomainCursorPaint(null);
plot.getGraphWidget().setRangeCursorPaint(null);
As far as your second question goes, it's hard to say without seeing some code. You should create a separate question for that though.

Half of link is working the other half is not IE7

If you take a look at this page with IE7; http://tinyurl.com/4gqwhtx
You wont be able to click half of the links, any body has any idea about this ?
Edit: I dont know howelse I can explain this situation some moderators are closed my last question by saying not enough information about the question.
My problem is when I put links into that white area I can not click them for some reason anybody has any idea about why ie7 does this ?
Looks like you have a lot of z-indexs being used. Maybe try manipulating the z-index of your links to see if you're positioning them behind something...

WPF: How to center and animate an ItemsControl?

I'd like to use an ItemsControl which behaves somewhat carousel-like:
I want the items which are all text to circle so that the selected item is always centered and the biggest. I should not be 3D since I like the fact that the unselected items don't overlap and are still readable. Most carousel implementations I saw made the impression to be too heavyweight for this scenario or to look good only with pictures.
I have the feeling this should be doable with some storyboards alone but it seems I'm not far enough into the WPF to get it done properly.
I hope you can point me in the right direction.
Thanks for your help.
This blog post has a good description of how you can implement this

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/

Creating "flippable" content in Silverlight

I'm currently trying to build my personal website with Silverlight 3 and I've got this idea that you should be able to flip through the content in a certain way. I haven't seen exactly what I wanted before, so I uploaded a screenshot of the design for you guys to get a better idea of what I'm talking about:
Picture of desired effect http://www.bo-mortensen.dk/bmdkflip.jpg
As you can see it's more or less a carousel on the X axis. I've seen a fair number of carousel tutorials, but it seems to be quite "complicated" for what I'm looking for.
My main problem is that I fail to understand how to make this thing dynamic. I can sure do the flipping animations, but when it comes to the best approach of making the bottom page (the mirrored one) the previous etc, I'm a bit lost :)
I'm looking for any good advice on how to make this dynamic in such a way that the only thing that needs to be changed is the content itself (text, pictures etc) Also, I believe that each page/usercontrol should be using the same two (flip up and flip down) animations, if that's possible at all?
Hope I made myself clear on this - it's late after all ;) If not, just let me know and I'll see if I can elaborate!
Looks like you are looking for a Flippable 3D control. So check out my blog for one and you can tweak it to make vertical rotation.
http://jobijoy.blogspot.com/2009/04/3d-flipper-control-using-silverlight-30.html

Resources