示例#1
0
 private void TimelineItem_HeaderLostFocus(object sender, EventArgs e)
 {
     HeaderDate.Fade(0).Start();
     HeaderTime.Fade(0).Start();
     HeaderSummary.Fade(0).Start();
     HeaderLikes.Fade(0).Start();
     HeaderImageContainer.Scale(1f, 1f, 34, 34).Offset(0, 140).Start();
     HeaderTitle.Offset(190, 70).Fade(0.7f).Scale(0.7f, 0.7f).Start();
     CornerClock.Fade(1).Start();
     WeatherIcon.Offset().Start();
 }
示例#2
0
        private void TimelineItem_HeaderGotFocus(object sender, EventArgs e)
        {
            var item = sender as TimelineItem;

            RootPage.Current.UpdateBackground(Hero.HeroImage, Timeline.TimelinePanel.TopItemIndex);

            HeaderDate.Fade(1).Start();
            HeaderTime.Fade(1).Start();
            HeaderSummary.Fade(1).Start();
            HeaderLikes.Fade(1).Start();
            HeaderImageContainer.Scale(1.2f, 1.2f, 34, 34).Offset().Start();
            HeaderTitle.Offset().Fade(1).Scale().Start();
            CornerClock.Fade(0).Start();
            WeatherIcon.Offset(60).Start();
        }