Silverlight: simulate a ‘Windows’ desktop application - part 3 (Resizable Window)

It’s time to write the last chapter of this series and take a look at how the resizing capability of the Window is implemented. Since the last time some new feature were added: Code ported to Silverlight 2.0 RTW. Solution refactored, th...


Silverlight: Controls inside ScrollViewer - horizontal resize layout bug and related workaround

I was updating my sample on how to simulate a Window environment in Silverlight, after having implemented some fixes to the resize functions and having added the support for scrollbars inside a window, I realized a simple test form with a serie...


Silverlight: Dropdown Menu Control

In a previous post I showed how we can build a simple menu control for Silverlight 2 Beta 2 (Silverlight: how to build a simple menu control); then with the release of Silverlight RC0 some things were changed and the menu stopped working, due t...


Silverlight: simulate a ‘Windows’ desktop application - part 2 (Dragging Window)

With the release of Silverlight RC0 it was finally time to update this sample application. Let’s now go on with the tutorial and take a look at how the dragging capability of the Window is implemented, you can state if you want to enable or dis...


Silverlight: how to build a simple Menu Control

In my current project I needed to use a dynamic Menu Control (a completely declarative approach hardcoding the structure in XAML wasn’t a good fit for my application cause I need to dynamically add, remove, enable and disable menu items). Since...


Silverlight: a generic Pagination Control

The default silverlight controls like DataGrid and ItemsControl come without a default paging mechanism like we have in ASP.NET, so this article will be forcused in developing a generic Pager Control in Silverlight. This is what we want to obta...


Silverlight: Custom Buttons with Templates

Sometimes you want to define a consistent look for all you application and maybe you completely replace the template of a control (lets say...a button :D), then you want to use the same template with small variations (colors or images for examp...


Silverlight: simulate a 'Windows' desktop application - part 1

As my first real experiment in building a Silverlight control, I wanted to realize something that could permit me to offer to the users a windows-like experience application hosted in the browser, so I started wondering how difficult was to imp...


Silverlight: How to Add a Context Menù to a FrameworkElement

I want to be able to display a context menù or something else when my mouse is over a series of specified framework element on a given Silverlight Application; keep in mind we do not have support for mouse right click event due to a series...


Silverlight: The Power of <Canvas>

The Canvas is usually an underestimated layout control in Silverlight, instead it's really useful and flexible; one the most usefull things I have discovered while playing with Silverlight is to build pages using a Canvas as the most external c...