No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I animate a label to move up the screen using the following code: [CODE]private void Animate(object sender, EventArgs e) { Storyboard scrollTweets = new Storyboard(); DoubleAnimation ani = new DoubleAnimation(); ani.From = (double)label1.GetValue(Canvas.TopProperty); ani.To = (double)label1.GetValue(Canvas.TopProperty) - label1.ActualHeight; ani.Duration = new Duration(TimeSpan.FromSeconds(1)); Storyboard.SetTarget(ani, label1); Storyboard.SetTargetProperty(ani, new PropertyPath(Canvas.TopProperty)); scrollTweets.Children.Add(ani); scrollTweets.Completed += … |
|
I have a WPF application which has a textblock at the bottom of the page. I want to animate this block so it scrolls along the bottom. I need to do this in code so that when it scrolls of screen it will change position to the other side when … |
|
I have the following xml code; [CODE]<item> <title>CBS News' Logan victim of 'brutal' Egypt attack</title> <description> <![CDATA[<p><a href="http://today.msnbc.msn.com/id/41607923/ns/today-entertainment/"><img align="left" border="0" src="http://msnbcmedia.msn.com/j/MSNBC/Components/Photo/_new/110215-lara-logan-egypt.thumb.jpg" alt="CBS Correspondent Lara Logan is pictured in Cairo's Tahrir Square moments before she was assaulted in this photograph taken on Friday, Feb. 11." style="margin:0 5px 5px 0" /></a>The correspondent … |
|
Does anyone know a simple way to display a powerpoint presentation in a WPF application. I am new to using WPF so please explain any examples you might give clearly. |