TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
solomon mwika
1.5k
210
7.9k
Animating text in windows phone textblock
Feb 13 2014 8:59 AM
please help on these I landed myself into wholly new topic that i have no idea of how it goes
I want to animate text so that it moves from top of textblock to the bottom with time
I also want the text to be blinking while it moves downwards.
sounds fun to me to do it but spent some days trying using StoryBoard and doubleAnimation
no avail
please note am reading the text from a file
the code xaml
<TextBlock x:Name="Animatedtext"
TextAlignment="Center" HorizontalAlignment="Center" Height="222" Margin="10,42,10,402" TextWrapping="NoWrap" VerticalAlignment="Center" Width="460"
CharacterSpacing="0"
FontSize="29">
<TextBlock.Projection>
<PlaneProjection/>
</TextBlock.Projection>
<TextBlock.Foreground>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFEEFF00" Offset="0.719"/>
<GradientStop Color="Yellow" Offset="1"/>
</LinearGradientBrush>
</TextBlock.Foreground>
</TextBlock>
The csharp timer
my timer event
public void Timer_tick(object sender, EventArgs e)
{
String myvariable;
wordstype = mymenu.CheckWords();
String myword;
thatword = callmymethod.Mymethod(5);
Animatedtext.Text = thatword;
myword = tlbRandomWords.Text;
if (myword.ToString().ToUpper() == tlbuser.Text && tlbuser.Text != "")
{
counter++;
MessageBox.Show(counter.ToString());
}
}
Reply
Answers (
0
)
Setting homepage is newtabpage in Chrome using c#.net
Show data in datagrid based on multiple tables