Geeks With Blogs
Imran Shaik Silverlight Quintessential Rambling Silverlight
Observe a Property in MVVM pattern in Silverlight/WPF using Rx
I have been using Rx for over a month now and can’t even begin at telling how beautiful it really is and how much it has simplified my life especially working with UI declaratively and without having to worry about Dispatchers, threading etc., and I ended up rewriting most of the custom controls I have build over time to support Rx. And have been a big fan of Observable pattern and WeakEventListeners again had their own limitation which I always found a bit intimidating and for me Reactive Extensions ......

Posted On Tuesday, November 30, 2010 7:29 AM

A brief encounter with Silverlight Multitouch.
Let me first start by saying that I was very much excited about creating a Silverlight multitouch application ever since I heard the announcement that Silverlight supports it, I couldn’t wait to try porting some of our Surface applications to Silverlight. From a pure feature perspective Silverlight Multitouch doesn’t really provide much since Silverlight Multitouch can only work on Windows 7 running on a Multitouch capable hardware (HP Touchsmart TX2 in my case) and when you create a web application ......

Posted On Monday, September 7, 2009 10:13 AM

Defining Custom VSM states for Custom Controls in Silverlight 3 / Blend 3
In Silverlight 2.0/Expression Blend 2 SP1 creating a new VSM state was pretty straight forward, either for a UserControl or Custom Control a new Visual State could have been created by just clicking on create a new Visual state group, similarly XAML could have been manually editing the XAML. In Blend 3.0/Silverlight 3.0 you can still create visual states the old way for UserControls but for custom controls this option becomes disabled/unavailable. One reason I could think for this is that all Visual ......

Posted On Sunday, August 2, 2009 4:13 AM

More XAML Gradients
This is my second lot of Gradients they are few more but that is for some other day, here are about 14 new gradients for you, I need some patience and inspiration to make few so I might come back with more. XAML: <LinearGradientBrush x:Key="CyanThemeBG" EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFC6ECFE"/> <GradientStop Color="#FF003FFF" Offset="1"/> <GradientStop Color="#FF37AFF9" Offset="0.5"/> <GradientStop Color="#FF0076DB" Offset="0.5"/> </LinearGradientBrush> ......

Posted On Tuesday, October 21, 2008 5:19 PM

Changing Content Foreground from VSM
Skinning a ListBoxItem/Button or any content element that has its content binded to ContentPresenter and changing it foreground color often seems impossible, the problem is ContentPresenter doesn’t have the foreground property so you can’t do much for it VisualStateManager. But there are two different ways to achieve this using a trick or hack. Trick: Modify the template of the ListBoxItem, collapse/Remove the ContentPresenter and add a TextBlock and bind the Text property to TemplateBinding to Content, ......

Posted On Wednesday, July 29, 2009 11:45 PM

Understanding: Dependency Properties in Silverlight
This is written to explain Dependency Properties in general as they are available in .NET Framework 3.0 but specifically targeting Silverlight 2.0, in most places effort has been placed to explain the differences in Dependency Properties in WPF and Silverlight (With Silverlight perspective). But all examples are for Silverlight. What is Dependency Property? Dependency properties are new addition to .NET Framework 3.0, Dependency properties are completely new implementation of properties, all programmers ......

Posted On Wednesday, December 24, 2008 8:49 AM

Developing Custom Controls in Silverlight 2
Introduction Creating custom controls is not as difficult as they actually appear, but before we go creating custom controls lets first look at the difference between Custom Controls (CC) and Custom User-Controls (CU). Simply put Custom Controls (CC) are skinable, themable and reusable controls that once created can be used by simply loading the assembly in any project, where are Custom User-Controls are user controls that can be reused but they can't be skinned or themed. Technically they are both ......

Posted On Friday, October 31, 2008 12:48 AM

Understanding/Developing Silverlight
There are many tutorials in Silverlight over the Internet that mostly cover the basics of Silverlight but when you start getting a bit ahead you get into trouble and the real lack of tutorials or examples when you get to Intermediate level and beyond there is much to be desired especially when it comes in examples on MSDN (specifically VB.NET), so I am starting a new series which I hope will cover from basic to advanced level, and I might try to go in as much detail as possible, basically I am finding ......

Posted On Sunday, October 26, 2008 12:28 PM

Tutorial: Animating Custom Controls for themes using Opacity Masks
As promised I'm going to show you how to animate custom controls using Opacity masks, if you are unfamiliar with Opacity masks, please check my previous blog entry: Working with Opacity masks In this tutorial we'll create a custom button, animate it for mouse events and then still keep it flexible to them it The Problem Custom controls are notorious, especially when it comes to applying themes, it is very simple to create a custom button and animate it but it all falls apart when you try to keep ......

Posted On Friday, October 24, 2008 11:55 AM

Working with Opacity Masks
Opacity Masks are a great addition to Silverlight even thought it was there from the beginning, they are not as much helpful as otherwise they might be due to the lack of brushes in Silverlight (compared to WPF). And the addition of Alpha along with RGB in colour definition, opacity masks don't really gain much attention as they deserve. Although the use of Opacity Masks in Silverlight is very limited it is nonetheless a less important features, especially in animations and applying both vertical ......

Posted On Wednesday, October 22, 2008 8:17 PM

First Reaction to Silverlight 2 RTW
I can just say that I'm happy to say good bye to Blend 2.5, it was really a pain to use to different Blend versions (2.0 and 2.5 as I mostly work on WPF) and since already bought the Expression Studio I was wondering if I had to buy Blend 2.5 just for Silverlight but now I am happy. I might bring new tutorials and now that we have a stable version it will be better I was just waiting for the final and stable release so as to kick start developing commercial Silverlight applications. I must add that ......

Posted On Friday, October 17, 2008 12:33 AM

Silverlight 2 Released And I'm Back...
Well, finally Silverlight 2.0 is released, all these months (years?) of waiting and the day has finally arrived. Emm... Where was I? Busy as usual, but more to the point Silverlight 2 Beta didn't live upto my expectations and there were changing things up and down, right and left that I had to give myself a break... in the mean time I also learned C# so most of my work now will be on C# and VB.NET. Expect regular blogs from now ......

Posted On Tuesday, October 14, 2008 3:53 PM

XML Literals and Embedded Expressions
In our previous tutorial we have seen how we can use XML axis properties to consume XML returned from a web service in Silverlight applications, in this example however we will look at how XML Literals and Embedded Expressions can be used to easily write fast and efficient Web Services. *Note XML Literals and Embedded Expression are Visual Basic 9 Exclusive features you might need Visual Studio 2008 and .NET Framework 3.5 installed. XML Literals and Embedded Expression are not limited to Silverlight/WPF ......

Posted On Sunday, March 30, 2008 6:45 AM

Silverlight 2 Beta 1 - Web Services in "New School" approach.
There might be a few samples of working with web services in Silverlight but I promise I'll keep you interested with VB.NET exclusive feature VB Literals. This is going to open a whole new way of looking and working with XML and Web Services. *Note: Don't attempt to do everything I do in this tutorial in C# (espcially consuming WebService in Silverlight 2) because you simply can't, C# or any other language doesn't have this feature, so stick to VB.NET for consuming you can use C# for the rest, I'll ......

Posted On Tuesday, March 25, 2008 5:17 AM

Silverlight 2 Beta 1 Tutorials Coming soon
I have been very busy lately with different projects and now I have a little bit of time on my hands to play around with Silverlight 2. As I have promised before loads of Tutorials are coming your way. So stay tuned. I am little late in blogging, so there are many tutorials already available, so I'll cut the long way and come directly to doing complex things in Silverlight, so if you are expecting "Hello World" in Silverlight then look else where. I will be posting tutorials in VB.NET, and if possible ......

Posted On Tuesday, March 25, 2008 1:30 AM

Dark side of Silverlight 2 Beta 1
Being a WPF developer and Silverlight enthusiast and early adopter of Silverlight I was very pleased when Microsoft employees (Tim, Scott, Jesse among others) said its going to be very close to WPF, that meant that I can reuse my WPF skills and apply them in Silverlight 2. And was waiting impatiently for Beta 1 of Silverlight 2, and when I hands on I, I was disappointed with it, I couldn't develop Silverlight applications because I was still struggling to find out what features of WPF is not in Silverlight ......

Posted On Sunday, March 16, 2008 6:14 AM

Vista Gradients Resources Pack 1
I have been busy with my project so I haven't really got a chance to play with Silverlight 2.0 as much as I wanted to, I had a look at it but thats about it. I'll be posting XAML Resources, VB.NET/C# source code, sample, example, videos, tutorials, media player skins (I have few of them) and almost everything but I have to get my hands dirty with Silverlight 2.0 first which I'll as soon as possible. But today you have the first instalment of Vista resources, I had them in Adobe Illustrator format ......

Posted On Saturday, March 8, 2008 3:44 AM

Pre MIX Silverlight News
I came across some pre MIX Silverlight news, stakes are higher than ever and rewards never been better but is it the right way? 1. Microsoft of make Silverlight Offline Err What does it mean? It means that not only Silverlight application can be developed for the web but for the desktops as offline applications... which can be installed (ideally cross platform, love to see how they pull it off) it means build one application host it on the web or ship it for desktops, boy could stakes be even more ......

Posted On Monday, March 3, 2008 10:39 PM

Silverlight 2.0 Initialisation Improvement
Silverlight browser integration and browser hosting always surprised me, when I first started with Silverlight I had troubles making my canvas bigger than 640x480 and its only later on I found that its not as easy as it looks and that I have to set Silverlight application size more than once. (xaml, js, html), after few updates on Silverlight templates its possible to do it in just xaml and html, and the reason is that Silverlight 1.1 relying on DOM to host Silverlight applications. With the announcement ......

Posted On Saturday, February 23, 2008 12:56 PM

Animation with Clipping Paths
I have seen many examples of Clipping paths, but there weren't any to show how animation will effect the clipping, so I took the chance to make a video demo with nice example, Hope you like it. All I used for this is Microsoft Expression Blend 2 December Preview, I made the example in Silverlight 1.0 but this is XAML based so you can use this anywhere, including WPF/Silverlight 1.1/2.0. (double click to go full screen) Excuse me for the audio, this is my first Video tutorial, but you should be able ......

Posted On Saturday, February 9, 2008 5:30 AM

Converting Clip Art to Silverlight XAML
Need to send some Silverlight flowers this valentines day and don't know how to design? I am here to show you how you can get free clip art and convert them into Silverlight XAML. For this example, I used Microsoft Office Clip Organiser (Comes with Microsoft Office) Adobe Illustrator CS2 Microsoft Expression Design 1.0 Microsoft Blend 2 December Preview With everything ready, start with Microsoft Office Online where you can get the clip art, search for the clip art you need (but ensure that you are ......

Posted On Monday, February 4, 2008 2:03 AM

Copyright © Imran Shaik | Powered by: GeeksWithBlogs.net