-
This is a screenshot of the Windows 8 Store app: And this is what you get when you start a new Windows 8 “Windows Store Grid App”: Wouldn’t it be great if you would be able to control the size of each particular item in your grid? To break out from dullness of having all items the same size, like, for...
-
Following up on The ultimate hack for Silverlight in Blend post from Josh Smith, I tried to make Blend display pictures from the My Pictures folder right in my Silverlight application. Needless to say, it worked as advertised :) The ViewModel is set through d:DataContext: public class MainPageViewModel...
-
With Halloween around the corner, it’s time for some scary photos… In this post I’ll explain how I built my demo application I showed at my Windows 7 Launch talk . Expression Blend 3 shipped with a few interesting samples, available for immediate use. One of them is called Wall3D (Silverlight 3) and...
-
Windows 7 launch day was fun. I gave a talk on Expression tools (and related) – here’s the PowerPoint slide deck for those who asked for it: I used Expression Blend 3 to build a photo viewer application, which I’ll blog about later; key points here were designer-developer workflow + using sample data...
-
A couple of weeks ago, I wrote a post about handling dynamic forms in Silverlight. With this continuation post, I’m going to make a few changes to the original project: 1. Implement a new, custom, field type and provide a template for it (I’ll write about it later), and 2. Make a few changes to the FormFieldTemplateSelector...
-
The basic idea behind this post is to show a simple way for items/list controls to display each item data with a different template. The ideal candidate for such exercise are data forms, where user can enter different kinds of information - text, numbers, check marks, etc. Imagine a scenario, where each...
-
This is a quick tip on making the ListBox items behave as disabled. You know the semaphore, right? STOP on red, GO on green? OK. I’m drilling this with my two-year old when driving her to kindergarten every morning so lately it’s probably stuck in my mind a bit more than it should be. OK. This is a ListBox...
-
In the previous post, we enabled editing for our TreeView. The last operation we need to implement is adding a new item to the hierarchy. With our tree item editor in place, there’s not so much left to do… The only change we need to make with the View is add an Add button, right next to the Edit button...
-
In the fourth post in this series we’ll get to actually edit an item in the TreeView. First, we have to make our HelpTopic class editable. Well, yes, it is editable now, but we’ll make it even more editable :) by a] implementing the IEditableObject interface. IEditableObject is defined as: public interface...
-
After the first two introductory posts, we're ready to move into the TreeView control itself. We’ll begin by implementing the easiest of the three update commands (insert/update/delete) – to delete an item in a TreeView. This one actually looks very simple, all we need is to redefine TreeView’s ItemTemplate...
-
This is the first post in a series with a simple, yet specific goal: to add editing capabilities to Silverlight Toolkit ’s TreeView control and build a MVVM (Model-View-ViewModel) pattern application with it. This introductory post will deal with really basic stuff. Nothing new and fancy, we’re just...
-
I’m sure Telligent will fully enable Silverlight parts into future Community Server releases, but until then, a couple of tricks are needed to make Silverlight play well with CS. The following points were made with Community Server 2008.5 release. Include Silverlight apps in posts The common way to include...
-
Following my previous example , this is another experiment with the Label.Target property. Suppose you want to restrict user’s progression with data input on a form by disabling some crucial input fields, which input depends on some other fields on the form. There’s more than a couple of ways for doing...
-
One of probably most underused features in windows desktop UI development world is got to be the use of a Label as an accessor to its pair control. I rarely see developers using this possibility to enhance keyboard UI navigation. A couple of things changed about this mechanism when going from Windows...
-
Corrina Barber posted a cool looking new skin for Silverlight controls, which indeed looks perfect for giving your application a sketchy appearance when in early stages of development. However, if you don't find the green color she used sketchy enough, it doesn't get any easier to adjust it to...