Format:
Recent snippets matching tags of Animation
ObservableCollection<string> m_Data; public MainPage() { InitializeComponent(); m_Data = new ObservableCollection<string> { "One", "Two", "Three", "Four" }; MyListBox.ItemsSource = m_Data; }
83 Views
no comments
ObservableCollection<string> m_Data; public MainPage() { InitializeComponent(); m_Data = new ObservableCollection<string> { "One", "Two", "Three", "Four" }; MyListBox.ItemsSource = m_Data; }
61 Views
no comments
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,
101 Views
no comments
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); }
111 Views
no comments
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 }
831 Views
1 comments
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;
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/ *
558 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
