Posts Tagged ‘ DataBinding ’

All of My Silverlight Video Tutorials in One Place (revised again 05.12.10)

This post was commented on by Microsoft’s own Scott Guthrie (the Gu) on 5.31.10

Hello All,

This is a post that keeps growing day by  day so I need to update its postion to be at the top of my blog as the content grows. So, here it is again by popular demand:

49. How to add multiple BitmapEffects to one object in Silverlight: http://wp.me/pxXri-7K

48. How to build a Slider with a ToolTip that follows the thumb button and displays the value of the Slider: http://tinyurl.com/37ms8fl

 47. How to build your very own TutorialCam like I use in my video tutorials! http://wp.me/pxXri-75

46. Fire one of two Visual States based on the value of a Boolean variable: http://wp.me/pxXri-71

45. How to add Fast Forward to the Silverlight MediaElement: http://wp.me/pxXri-6V

44. Create a custom ToolTip with a Delay: http://tinyurl.com/24cqcqu

43. Create a Silverlight Paging Systems to Load Pages on the Fly: http://wp.me/pxXri-6H

42. Create a Slide In/Out Navigation Panel: http://wp.me/pxXri-6B

41. How to use Joe Stegman’s PngEncoder to save an image from your Silverlight application: http://wp.me/pxXri-6y

40. How to create complex gradients: http://tinyurl.com/ycjcpd5

39. My Blend IDE series – Part 1 – the Blend Toolbar: http://tinyurl.com/yh48uh8

38. My Learn Blend IDE series Part 2 – Layout Controls and User Input Controls: http://tinyurl.com/yblcjyk

37. My Learn Blend IDE series Part 3 – The Properties, Projects and Data panels: http://tinyurl.com/ykvcdkk 

36. My Learn Blend IDE series Part 4 – The Objects & Timeline and States panels: http://tinyurl.com/y8ztcds

35. My Learn Blend IDE series Part 5 – Blend’s Animation Workspace – Everything you need to know to create Storyboard Animations –  http://wp.me/pxXri-56

34. How to make a 3 column ListBox in Silverlight: http://tinyurl.com/yhxspew

33. How to read XML into Silverlight and turn it into Native Silverlight Objects: http://tinyurl.com/ybm27su

32. Create a default Silverlight 4 Out Of Browser app that allows you to create new OOB apps in mere seconds: http://wp.me/pxXri-4h

31. How to make a forever scrolling Silverligh banner: http://tinyurl.com/ykkd7kl

30. How to create a Silverlight Color Resource in a ResourceDictionary: http://tinyurl.com/yhxc28z

29. How to make an Out of the Browser SL4 Web Browser Applicaiton: http://tw0.us/5jy

28. Use the new Silverlight 4 Webcam API to create a cool webcam app that even let’s you save images to your hard drive: http://tw0.us/5RD

27. Use the new Silverlight 4 COM API to make an Out of the Browser application that is able to open a MS Word document: http://tw0.us/5NN

26. How to make a Timer by using the DispatcherTimer class: http://tw0.us/4my

25. Create a Functioning Login UserControl: http://tw0.us/4o3

24. Use the FarseerPhysics Library to create a Ragdoll with simulated Physics: http://tw0.us/4pA

23. Create a Sortable ObservableCollection: http://tw0.us/5G0

22. Create a Silverlight Ragdoll with Simulated Physics: http://tw0.us/4pA

21. How to create a functioning Silverlight Login UserControl: http://tw0.us/4o3

20. How to create a Silverlight Timer using the DispatcherTimer class: http://tw0.us/4my

19. How to create custom RoutedEvents in Silverlight using Andrew Whiddett’s (IdentityMine) Eventing assembly reference: http://tw0.us/4cU

18. Use the Silverlight Toolkit’s WrapPanel to create a ListBox that displays three rows of Data: http://tw0.us/4aV

17. Create a Silverlight custom Silder: http://tw0.us/4LZ

16. How to create a Visual Tree Helper to locate FrameworkElements in the Visual Tree: http://tw0.us/46C

15. Using DataBinding to control the Visibility of any Silverlight Object using Blend and Visual Studio: http://is.gd/4jUYJ

14. How to create a complete Sketchflow Prototype in Silverlight: http://is.gd/41pjN

13. Creating a Custom Silverlight Button Just for Designers (using linear and radial gradients, the gradient tool and opacity masks): http://is.gd/3XAcr

12. Creating a Custom Silverlight Button: http://is.gd/3X1eZ

11. Creating a Storyboard Helper Class:  http://is.gd/3mjXW

10. Importing Photoshop PSD files into Expression Blend 3:
http://is.gd/3f53d

9. Creating Morphing Vector Path Storyboards in Blend
http://tw0.us/4oI

8. Re-Creating a Metallic Logo in Vector using Blend 3
http://tw0.us/4oL
 
7. Creating Timed Storyboard Animations
http://tw0.us/4oK
 
6. Using TemplateBinding to Replace a ContentPresenter in a Silverlight Button
http://tw0.us/4oJ
 
5. Working with Data in BLend 3
http://tw0.us/4oN
 
4. Silverlight 3 Behavior Tutorial Video
http://is.gd/3ajTP
 
3. This Tutorial will teach you how to create a Card Flipping Animation!
http://is.gd/3ajpa 

2. Observable Collection Tutorial
http://is.gd/3ajLK

1. Silverlight Extended Drag and Drop Behavior:
https://victorgaudioso.wordpress.com/2009/07/07/extended-drag-and-drop-behavior/q

Enjoy! Victor

Advertisements

Ever Need a Sortable ObservableCollection?

Recently I had a ListBox bound to an ObservableCollection.  The powers that be wanted me to sort the items in the collection in alphabetical order.  Much to my surprise I found that this was not something built into a ListBox or into the ObservableCollection.  So, I set out to figure out how to do this in WPF.  I found a very cool posting on the Internet where this programmer (I’ll have to find his name and post it to give him credit) that showed me how to make a new class called SortableObservableCollection that extends the ObservableCollection but also adds functionality to sort it.  So, I built and it worked great.  So, I am sharing my code with you.  You can download my sample application here:

http://tw0.us/5Fz

You can either just add the reference assembly (found in the Debug/Bin folder of the zip) or you can just create a new class called SortableObservableCollection and copy the code from my class with the same name.

Enjoy!

Victor

My Speaking Schedule from Oct. to Dec. 2009

Greetings All!

Below is a list of Silverlight Presenation engagements I have booked for Oct., Nov., and Dec. 2009.  If you are in Southern California I urge you to stop by and check it out; I am going to show off some awesome features of Silverlight and Blend.

First Event: LA Silverlight User Group:

Date: Oct. 28, 2009

Time: 700pm – 900pm

Address:
Microsoft LA    
333 South Grand Ave, Suite 3300
Los Angeles, CA 90071

Presenters:
Victor Gaudioso
Rick Barraza

My Presentation:
1. Working with Sample Data in Blend 3:
     a. Blend 3’s Data panel;
     b. Creating Sample Data in Blend;
          A. Showing Sample Data in a ListBox using List Mode;
          B. Editing the ListBox DataTemplate to change the way the Sample Data is displayed;
          C. Showing Sample Data in a TextBlock using Details Mode;
          D. Importing XML and creating a Data Source;
     c. Creating a Data Object in Visual Studio;
     d. Creating an Observable Collection of Data Objects in Visual Studio;
     e. Creating a DataSource from the Observable Collection in Blend;
     f. Binding the DataSource to a ListBox in Blend

Second Event: LA Dot Net, the Premiere Los Angeles .NET Developers Group

Date: Nov. 2, 2009

Time: 700pm – 900pm

Address: UCLA

Presenters: Victor Gaudioso

My Presentation: To Be Determined (TBD)

Third Event: LA C# (www.lacsharp.org)

Date: Dec. 1, 2009

Address:
Manhattan Beach

Time: 600 pm – 8:30 pm

Presenters: Victor Gaudioso

My Presentation: TBD

Fourth Event: SocalDotNet (www.socaldotnet.org) 

Date: Dec. 2, 2009

Time: 600 – 8:30 pm

Address: Buena Park

Presenters: Victor Gaudioso

My Presentation: TBD

For more information email me at wpfauthor at gmail dot com.

Victor

Click HERE for my Bio

New Silverlight Video Tutorial: Visibility Binding – Data Binding an Object’s Visibility to a Boolean Property

Hello All,

Is this tutorial I show you how you can use DataBinding to bind an object’s Visiblity to a boolean property using a VisibilityConverter and a DependencyProptery. 

You can find the code for the DependencyProperty and VisibilityConverter in this text file (the video will show you how/when to use it) Here:

You can download my zipped application Here:

Finally, you can watch the video Here:

Enjoy!

Victor

All of my Video Tutorials in One Place

Hell All!

I realized that I have all of my video tutorial links spread out across a bunch of different posts.  So I decided to compile a list of URLs for all of my video tutorials and blog it.  So, here is the Silverlight video tutorial list:

How to create Custom RoutedEvents in Silverlight (Thanks to Andrew Whiddett and IdentityMine for this One): http://tw0.us/4cU

Use the Silverlight Toolkit’s WrapPanel to create a ListBox that displays three rows of Data: http://tw0.us/4aV

Create a Silverlight custom Silder: http://tw0.us/4LZ

How to create a Visual Tree Helper to locate FrameworkElements in the Visual Tree: http://tw0.us/46C

Using DataBinding to control the Visibility of any Silverlight Object using Blend and Visual Studio: http://is.gd/4jUYJ

How to create a complete Sketchflow Prototype in Silverlight: http://is.gd/41pjN

Creating a Custom Silverlight Button Just for Designers (using linear and radial gradients, the gradient tool and opacity masks): http://is.gd/3XAcr

Creating a Custom Silverlight Button: http://is.gd/3X1eZ

Creating a Storyboard Helper Class:  http://is.gd/3mjXW

Importing Photoshop PSD files into Expression Blend 3:
http://is.gd/3f53d

Creating Morphing Vector Path Storyboards in Blend
http://is.gd/2R1br

Re-Creating a Metallic Logo in Vector using Blend 3
http://is.gd/2ONQR
 
Creating Timed Storyboard Animations
http://is.gd/2M7m9
 
Using TemplateBinding to Replace a ContentPresenter in a Silverlight Button
http://is.gd/2GDRy
 
Working with Data in BLend 3
http://is.gd/3ak0Q
 
Silverlight 3 Behavior Tutorial Video
http://is.gd/3ajTP
 
This Tutorial will teach you how to create a Card Flipping Animation!
http://is.gd/3ajpa 

Observable Collection Tutorial
http://is.gd/3ajLK

Silverlight Extended Drag and Drop Behavior:
https://victorgaudioso.wordpress.com/2009/07/07/extended-drag-and-drop-behavior/q

Enjoy! Victor

Using TemplateBinding to Replace a ContentPresenter in a Silverlight Button

I have found that you have much more control over things such as centering text when using a TextBlock instead of a ContentPresenter in a Silverlight custom Button Control.  In this short video (about 5 min) I show you how to repleace a Silverlight Button’s ContentPresenter with a TextBlock and then use Template Binding to have it display the correct button label.

Have fun!

Video URL:

http://tw0.us/4oJ

 

New Silverlight 3 / Blend 3 Video Tutorial – Working with Data

In this tutorial you will learn about:

1. Creating custom data objects
2. INotifyPropertyChanged
3. ObservableCollections
4. Binding collections to a ListBox
5. Editing a ListBox DataTemplate
6. Importing a custom Panel
7. Overriding the default panel of a ListBox
8. Overriding the ItemsContainer of a ListBox
9. Importing XML as a data source
10. Creating a DataSource from an ObservableCollection

URL: http://www.windowspresentationfoundation.com/WorkingWithDataInSL.wmv

EMAIL NOTIFICATION:To be notified of new tutorials, online workshops, articles, etc. by me email me at wpfauthor at gmail dot comwith the subject line “Silverlight Email List”

TWITTER:To be notified of new tutorials, online workshops, articles, etc. by me follow me on Twitter.  Screename: victorgaudioso

INSTANT MESSENGER:AOL: victoratrezn8 | MSN: victor.gaudioso@identitymine.com | Yahoo!: victoratdeadline

Advertisements