CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Animation
C#
ObservableCollection<string> m_Data;
public MainPage()
{
    InitializeComponent();
    m_Data = new ObservableCollection<string>
    {
        "One", "Two", "Three", "Four"
    };
    MyListBox.ItemsSource = m_Data;
}
by Jerry Nixon   January 19, 2012 @ 8:53am
Tags: WP, XAML, Animation
83 Views
no comments
 
C#
ObservableCollection<string> m_Data;
public MainPage()
{
    InitializeComponent();
    m_Data = new ObservableCollection<string> 
    { 
        "One", "Two", "Three", "Four"
    };
    MyListBox.ItemsSource = m_Data;
}
by Jerry Nixon   January 19, 2012 @ 8:52am
Tags: WP, XAML, Animation
61 Views
no comments
 
C#
static void Delete(PhoneApplicationPage page,
    UIElement item, Action callback)
{
    // setup
    var _Scale = new ScaleTransform
    {
        ScaleX = 1,
        ScaleY = 1,
        CenterX = item.RenderSize.Width / 2,
        CenterY = item.RenderSize.Height / 2,
by Jerry Nixon   January 04, 2012 @ 9:06am
Tags: Animation, WP7
101 Views
no comments
 
C#
private void MyListBox_SelectionChanged(object sender, 
    SelectionChangedEventArgs e)
{
    // get the ListBoxItem that was pressed
    var _UIElement = MyListBox.ItemContainerGenerator
        .ContainerFromItem(MyListBox.SelectedItem) as UIElement;
 
    // resize the ListBoxItem
    Resize(_UIElement, () => { /* TODO: nav away */ }, 1, .25, .1);
}
by Jerry Nixon   January 03, 2012 @ 3:42pm
Tags: WP7, ANimation
111 Views
no comments
 
C#
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
 
public class Flipper
{
    public enum Directions { LeftToRight, RightToLeft }
by Jerry Nixon   February 01, 2011 @ 1:23pm
831 Views
1 comments
 
C++
NSArray *myImages = [NSArray arrayWithObjects: 
      [UIImage imageNamed:@"myImage1.png"], 
      [UIImage imageNamed:@"myImage2.png"], 
      [UIImage imageNamed:@"myImage3.png"], 
      [UIImage imageNamed:@"myImage4.gif"], nil]; 
UIImageView *myAnimatedView = [UIImageView alloc]; 
[myAnimatedView initWithFrame:[self bounds]]; 
myAnimatedView.animationImages = myImages; 
myAnimatedView.animationDuration = 0.25;
myAnimatedView.animationRepeatCount = 0;
by Yuzhen Situ   May 26, 2010 @ 6:27pm
217 Views
no comments
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Simle Html Template</title>
 
    <script type="text/javascript">
        /*
         * jQuery JavaScript Library v1.3.2
         * http://jquery.com/
         *
by jwwishart   November 03, 2009 @ 9:01pm
558 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate