Archive for August, 2009

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

 

Advertisements

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

A Great Review of my new Book Foundation Blend 3 with Silverlight (amazon)

From Joe Waldin:

“Foundation Expression Blend 3 With Silverlight by Victor Gaudioso is worth its weight in gold. If you’re new to Silverlight or even if you’re not, this is the book that will definitely help you hit the ground running. Concepts I have been studying for weeks came clear to me in minutes through his examples. Right away I was able to take these concepts to higher levels on my own and feel very comfortable. One of these concepts led me to experimenting with some advanced functionality during which I ran into a situation I couldn’t figure out. I took advantage of Victor’s invitation in the book to email questions to him if needed. I thought he might get back to me in a week or two. But, within a couple of hours, he responded to me and even offered to create a video that showed me how to do what I was trying to do. Of course, I said Yes, and within another half hour, Victor sent me a link and I was watching an online video of an application he created just for my purpose that showed me clearly how to accomplish what I needed to do. I was amazed, and I’m sure you will be too. 
 This is a no-brainer. If you want to learn about Silverlight/Blend (and how Visual Studio works with it), buy this book! “

Thanks Joe, Glad to lend a hand!

New Silverlight 3 Free Online Workshop – 08/10/09

Workshop:  DataBinding, XML Data, and Custom Panels

In this workshop you will learn how to create sample data in Blend, how to import XML data, how to create an observable collection, how to bind that data to a ListBox and Finally how to change the way a ListBox displays its data.

DimDim Meeting Details:

Hello!
 
Your friend, victorgaudioso, has invited you to a Dimdim Web Meeting for
August 10, 2009 02:00:PM PDT. To join the web meeting simply click here

You can also join the meeting by entering the meeting ID victorgaudioso at Dimdim.com at the time of the meeting.

You can also join by entering victorgaudioso at www.dimdim.com/join
 Meeting : Data Binding, XML Data, Custom Panels
 Key:
 Dial In: 702-473-3463Pass Code: 842867
 Start: August 10, 2009 02:00:PM PDT (Add to Outlook)
 Schedule Ends At: Not Applicable
 This meeting happens only once
 Meeting Agenda: In this workshop you will learn how to create sample data in Blend, how to import XML data, how to create an observable collection, how to bind that data to a ListBox and Finally how to change the way a ListBox displays its data.

IMPORTANT: Do receive invitations directly send an email wpfauthor@gmail.comwith the subject line Silverlight Workshop Email List

The Silverlight 3 SketchFlow Workshop was a HUGE Success

I would like to thank everyone that participated in this Workshop.  It was a lot of fun and people had some really great questions and comments.  One attendee, James even kept me true to Silverlight by showing the power of UserControls and templitizing.  Thanks  James!

If you were in fact an attendee please take 5 seconds to answser the poll below so we can all see how much you learned:

http://www.windowspresentationfoundation.com/Polls.html

Silverlgiht SketchFlow Workshop – June 8, 2008

 Meeting Details:

 

 

Meeting : Silverlight 3 SketchFlow Workshop
  Key:
  Dial In:                70…        Pass Code: 842867
  Start: August 08, 2009 01:00:PM PDT (Add to Outlook)
  Schedule Ends At: Not Applicable
  This meeting happens only once
  Meeting Agenda: I am going to discuss the benefits of and the reason why we would create a SketchFlow Prototype and then we are going to build one together.

URL: https://webmeeting.dimdim.com/portal/MeetingJoin.jsp

Silverlight 3 Behavior Tutorial Video Now Available!

In this tutorial I show you how to create a Silverlight 3 Behavior and then easily make use of it in Blend 3. 
 

This tutorial covers:
1. Creating a new Silverlight 3 project;
2. Adding shapes to the artboard;
3. Editing the project in Visual Studio;
4. Creating a new class;
5. Adding references to dll’s;
6. Extending classes;
7. Overriding abstract Methods;
8. Creating Events and EventHandlers;
9. Creating a custom DependencyProperty;
10. Applying Behaviors in Blend 3;
11. Setting Behvaior properties in Blend 3.

Difficulty: 6 out of 10.

Duration: About 20 minutes.

Who this is for: Developers and designers wanting to learn how to create behaviors.

Video URL: http://www.windowspresentationfoundation.com/Silverlight_BehaviorTutorial.wmv

Source Code URL: http://www.windowspresentationfoundation.com/FillBehaviorSample_01.zip

Advertisements