Browse by Tags

All Tags » silverlight » codeproject
  • Silverlight MEF: Custom ExportProvider for Attached XAML Exports

    I've been enjoying learning more about the Managed Extensibility Framework (MEF) and exploring various ways to integrate it with applications. After toying with MEF on Silverlight for awhile, I began to wonder about using it to export/import UI pieces or even define data elements in XAML. After a tweet to @gblock confirmed there was not native ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on December 2, 2009
  • Silverlight Behaviors and Triggers: Making a True Behavior

    We have explored using dependency properties and attached properties to abstract behaviors and triggers. In my last article, TextBox Magic, I showed how to create a dependency property to enable a textbox filter that would prevent anything but digits. In this article, we'll take it a step further and turn it into a ''true'' behavior. A ''true'' ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on October 16, 2009
  • Silverlight Behaviors and Triggers: Making a Trigger Action

    So far we've explored how to use dependency properties and attached properties to create reusable behaviors and triggers. I showed you recently how to refactor an attached property to use the Behavior base class instead. Today, we'll look at the TriggerAction that is also available in System.Windows.Interactivity (either as a part of Expression ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on October 11, 2009
  • Silverlight Behaviors and Triggers: TextBox Magic

    The TextBox control is popular in Silverlight but comes with a few nuances. For example, the default behavior is that the data is not bound until the control loses focus! This can be awkward when you have a form with a disabled save button. The save button won't enable until the text box contains content, but it won't ''know'' about the content ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on October 7, 2009
  • Silverlight Behaviors and Triggers: Storyboard Trigger Example

    One of the most powerful benefits of Silverlight is that it uses the DependencyProperty model. Using this model, you can create attached properties to describe reusable behaviors and attach those behaviors to certain elements. An example of this is firing animations in the UI elements. One criticism of Silverlight has been the lack of support ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on October 6, 2009
  • Decoupled ChildWindow Dialogs with Prism in Silverlight 3

    A common user interface component is the confirmation or message box, which is often presented as a dialog returns a boolean (OK/Cancel). There are a variety of ways to achieve this, but how can you decouple the implementation of the popup from the request itself? This is necessary, for example, for unit testing when you may not have a UI ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on September 29, 2009
  • Silverlight Captcha Example

    Silverlight, with its powerful text and graphics manipulation capabilities and strong interaction with the scripting DOM, seems to be the perfect engine for a Captcha challenge. See an Example Online Download the Source (18.3KB) Captcha is a challenge-response test used to determine to a degree of confidence that the end user is really human ...
    Posted to Jeremy Likness' Blog (Weblog) by Anonymous on September 1, 2009
Powered by Community Server (Commercial Edition), by Telligent Systems