I have to do an animation in a WPF project .
That is,one of the windows should display person's photos like an album,
where i should be able to flip the pages to see each person's info.
Each page should contain a header Description of person and a Photo below.
I dont have expression blend.
What is the simple way to do this.I am new to animation featues of WPF.So wher should i begin and which control should i use?
Please provide some inputs.Code samples,links etc.
Thansk
SNA
Maybe this
Related
Currently I have used Process.Start(documentUrl) in the WPF application
to open document.It opens document in a new window.I have one user
control.That User Control is displayed in one of the Dockpanel of the
main window.So when I select some document I want to open that
document in that User control.Is it possible?
I have also used WebBrowser inside the User Control but since it is
not a WPF control.It is displayed in the top layer.Due to which all
the PopUp are displayed behind that User control.So WebBrowser is of
no use to me.
Kindly suggest any alternative.
Hi you should have googled your issue first before asking here.
However here are few links for you. It seems you are looking for Flow Document control.
http://msdn.microsoft.com/en-us/library/ms748388%28v=vs.110%29.aspx
http://www.codeproject.com/Articles/37368/WPF-Flow-Document-For-Beginners
I have a WPF application where I have a column that should display one of the following:
If images are returned, display the images.
If a HTML text is returned, render the HTML table within the cell.
Can someone please tell me how I can do that?
For HTML, you may refer this link - http://pdgp.wordpress.com/2008/05/31/show-html-formatting-in-gridview-cells/
For showing Image, you may refer here - http://msdn.microsoft.com/en-us/library/2ab8kd75.aspx
Hope this helps.
[Update for Winforms DataGridView]
In order to display HTML, the only choice would be to override the Paint method I suppose. Alternatively, you may think of hosting a WebBrowserControl.
How to: Host Controls in Windows Forms DataGridView Cells:-
http://msdn.microsoft.com/en-us/library/7tas5c80.aspx
I need an PDF Control for WPF which is able to allow such editing:
Sticky Notes
highlighting (text, lines, etc)
user defined stampt text
If someone know such a control please let me know. Of course should be a commercial product.
Thank you!
Tom
I'm learning Silverlight and I want a control that lets the user enter a number but also that has 2 buttons like a scrollbar and when one of the buttons is pushed the value decrements/increments accordingly.
Sorry I guess it should be pretty easy, the book I have is pretty basic (I'll get another one when I get a chance)
Like this:
Thanks,
You're looking for an UpDown control, also called a spinbox.
You can find one in the Silverlight Toolkit.
I'd like to create view that if the user clicks on a control, let's say a TextBlock, that the control would spring back and forth in place from where the user clicked.
By spring I mean push back and forth like if there were springs behind the TextBlock in each corner.
I've seen demos of this type of effect, and for the life of me, I can't come up with the name of the effect to help with searches, or find an example of this.
Maybe instead of a TextBlock it would help to image a picture that could be pressed down on, and as if springs were behind it and then would bounce back into place.
I think you are referring to the Gratuitous Graphics Demo that was on display at MIX09. Here is a link to the source code:
http://blogs.msdn.com/henryh/archive/2009/03/20/mix09-the-gratuitous-graphics-demo.aspx
I think you want to change the scale transformation matrix of the text using an animation that has both an ease in and ease out element - most probably a BounceEase or ElasticEase, but you'll need to experiment to see which works best for you.
You'll need to trigger it when you click on the control.
Take a look at this example for some pointers.