Archive for the Category: Silverlight Version 3

Pixel Shader: Element Glow Effect

I found a handy pixel shader the other day does a simple glow effect obeying transparency. See here for the article http://puremsil.wordpress.com/2010/05/16/glow-effect-in-silverlight/

Also posted in Silverlight Version 4, Tips 2 Comments

TIP: BinaryFormatter for Silverlight

I was writing an article with an example dll that performed binary serialization for both silverlight and .NET but been somthing that is in demand someone beat me to it. Here is a link to the article it’s under MS-PL http://whydoidoit.com/silverlight-serializer/ I have used it my self and I highly recommened it. Now the next [...]

Also posted in Silverlight, Silverlight 2, Silverlight Version 4, Tips Leave a comment

TIP: Adding a water mark to the TextBox control

Below is a binary to perform this licensed under Ms-PL see here for original article which also contains the source code. WatermarkedTextBox-Binary

Also posted in Silverlight, Silverlight 2, Silverlight Version 4, Tips Leave a comment

TIP: Multi Line Text Boxes in Silverlight

Creating a multi line text box in silverlight is straight forward but if you are used to other TextBox controls you won’t find the expected MultiLine property. In order to make a silverlight TextBox multi line you need to set the AcceptsReturn property to true.

Also posted in Silverlight, Silverlight 2, Silverlight Version 4, Tips Leave a comment

Adding formatting to a TextBlock element

The TextBlock element provides basic formatting. To use these features check the intellisense list opening with “ e.g. <TextBlock> <Bold>Bold</Bold><LineBreak /> <Italic>Italic</Italic><LineBreak /> <Underline>Underline</Underline><LineBreak /> </TextBlock>

Also posted in Silverlight, Silverlight 2, Silverlight Version 4 1 Comment

DataContractSerializer misses out properies in XML

If you are coding a serializer in silverligth for your own XML files one thing you need to be carfull of is the order of the elements in the XML file. For some reason the DataContractSerializer dosn’t like the elements not been in alphabetical order and if an element is in the wrong place it [...]

Also posted in Silverlight, Silverlight 2, Silverlight Version 4 Leave a comment

ClientAccesPolicy for Sockets in Silverlight

For a server to serve this information see here http://msdn.microsoft.com/en-us/library/cc645032%28v=vs.95%29.aspx

Also posted in Silverlight, Silverlight Version 4 Leave a comment

Free grid control with source from DevEXpress

See http://www.devexpress.com/slfree

Also posted in Misc, Silverlight Leave a comment

Free Silverlight Controls from Telerik

http://www.telerik.com/products/free-silverlight-controls.aspx?utm_source=Neudesic_ROS_November&utm_medium=banner&utm_campaign=FreeSL_300x250_NeudesicROS_Nov

Also posted in Misc, Silverlight, Silverlight 2, Silverlight Version 4 Leave a comment

Using Binding through XAML to reference the base UserControl

I notice quite a few people having trouble with this recently and it is very straight forward to do.  When you are creating the binding you need to set a source for the binding but you can’t set source to self through xaml.  The way you actually do it is throught ElementName.  When you create [...]

Also posted in Silverlight, Silverlight 2, Silverlight Version 4 Leave a comment