(X) Hide this SilverlightShow next training events: Getting started with the Silverlight 5 Beta - a free 1 hour webinar on May 11th, by Michael Crump. Join at 10 am PST.
XNA for Windows Phone 7 - a 3 day training by MCC Peter Kuhn. June 1-3, 9 am - 1.30 pm PST. Sign up early-bird for $199.
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 23 results for Bindings.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Page 
  • 1
  • 2
  • 3
Next
Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Apr 19, 2011 (2 weeks ago)
    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on Twitter

    Den Delimarsky explains how to apply pseudo-paged navigation in a list on Windows Phone 7.

    Source: DZone

    There are several ways content can be browsed inside a list on Windows Phone. Most of the current applications (like Facebook) are using the "Load More" method - by modifying the default ItemPresenter it is possible to add an extra Button control at the end that will trigger the list update (for the list that is currently bound). This is a pretty decent method to split a large collection in smaller chunks and then access it that way. However, the situation becomes a bit more complicated when the items are already loaded and all that needs to be done is navigate through the existing set.


  • Lambda Binder for WPF and Silverlight

    0 comments  /  posted by  Silverlight Show  on  Mar 21, 2011 (1 month ago)
    Tags: Bindings , LINQ , WPF , Akash Kava

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterAkash Kava talks about the LambdaBinder class for WPF and Silverlight.

    Source: Akash Kava's Blog

    LambdaBinder class helps in creating complex binding expressions without having to create IValueConverter and IMultiValueConverter, it lets you write inline expresions with advanced binding scenarios.
  • Delay Binding Updates within a certain Context

    0 comments  /  posted by  Silverlight Show  on  Mar 17, 2011 (1 month ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterIn this blog post, Damon Payne discusses updating Bindings in a given context.

    Source: Damon's Blog

    This came up on Twitter today and since I have a solution that's been working well for me I opted to share. When making a series of data changes that will update Bindings, How can you keep a WPF/Silverlight UI from reflecting any of these changes until you're all done? In other words, we need the ability to treat a series of Property changes as a single unit of work.
  • Binding to static classes in Windows Phone 7

    0 comments  /  posted by  Silverlight Show  on  Mar 17, 2011 (1 month ago)
    Tags: Bindings , Windows Phone 7 , Matt Lacey

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterMatt Lacey explains how to bind to static properties of a class in WP7.

    Source: Matt Lacey's Blog

    It's a common request to be able to bind to a global variable in various parts of an application. It's often common that such variables are static.
    This question seems to pop up in forums rather regularly and often the advice given is that this isn't possible or to include the "global" variable as part of the model being used as the DataContext of the page. Such duplication of functionality in the model is a bad idea and totally unnecessary.
  • 0 comments  /  posted by  Silverlight Show  on  Dec 28, 2010 (4 months ago)

    Marlon Grech explains how you can specify that a certain binding should update the source on PropertyChanged in Silverlight 4.

    Source: C# Disciples

    In Silverlight 4 there is no way out of the box to specify that a certain binding should update the source on PropertyChanged, the options for the UpdateSourceTrigger are LostFocus and Explicit.

    These options are more or less what you really need for most scenarios, yet sometimes you want to have the ability to update the binding while a property is changing. A use case would be, you have a textbox and you want to apply some validations while the user is typing, maybe you enable a button if the text entered is correct or disable it if it is not correct.

  • 0 comments  /  posted by  Silverlight Show  on  May 31, 2010 (11 months ago)
    In this post Matthias Shapiro discusses the ability to use the StringFormat feature when binding in Silverlight 4.

    Previously, if I wanted to have a piece of text that said “Your name is [username]” I could either use the old Horizontal-Stack-Panel-And-2-TextBlocks trick or write a value converter (not going to be seen below because there’s a great example of it over here. Incidentally, that example is totally irrelevant if you’re going to use StringFormat, but more on that in a second).

    The StringFormat option in Silverlight 4 allows you put all that information into a single field, which is extremely useful not only for TextBlocks, but for Content fields in a Button. In fact, let’s use that as an example.

  • Cascading ItemsSource Bindings in Silverlight

    0 comments  /  posted by  Silverlight Show  on  Mar 16, 2010 (more than a year ago)
    Tags: DataGrid , Bindings
    Damon Payne discovered a disturbing issue when dealing with multiple DataGrids on the same screen. In this article he demonstrates the problem and shows a solution.

    When building a complex data visualization application in Silverlight, I discovered a disturbing issue when dealing with multiple DataGrids on the same screen.  If the ItemsSource of a particular DataGrid gets updated as the result of a SelectedItem change in another DataGrid the child grid would not display any items.  Worse, adding code to query the ItemsSource of the child grid shows that does have a valid and correct ItemsSource, so why doesn’t it display?

  • 0 comments  /  posted by  Silverlight Show  on  Feb 05, 2010 (more than a year ago)

    Kathleen McGrath has posted two videos and a blog post which all cover Silverlight controls binding.

    In the following videos, programming writer Steve Stein demonstrates the new drag and drop data binding features in Visual Studio 2010 for working with Silverlight applications.

  • Avoiding Issues When Typing Text in Bindings

    0 comments  /  posted by  Silverlight Show  on  Jan 21, 2010 (more than a year ago)
    In this short blog post Laurent Bugnion talks about a few things that you should know in order to avoid issues when typing text in Bindings.

    The Binding class has a few properties that can be set to a text, including spaces. The properties StringFormat, TargetNullValue and FallbackValue are such properties. These properties exist in WPF and newly also in Silverlight 4.

  • Duplex WCF Bindings in Silverlight

    0 comments  /  posted by  Silverlight Show  on  Dec 21, 2009 (more than a year ago)
    In this post Gill Cleeren discusses working with duplex WCF bindings in Silverlight and as an example he creates one application that posts updates about snow throughout Belgium.Image

    Services and data access are the focus of the book I’m writing (more very very soon!). Working with services to get data into a Silverlight application is so vital, it should be code that’s known by every Silverlight developer by heart. Working with duplex bindings is somewhat more complicated. However, there are situations in which duplex communication is really necessary. Think of the typical example: a stock application that should send stock updates to the client without the client requesting for an update.


Page 
  • 1
  • 2
  • 3
Next