New User?   Join Now     Login            Forgot Password?    
Browse by Category
Browse Projects
XamlQuery v1.2
Browse Topics
You are here: -> Silverlight
The following are the articles in Silverlight.
XamlQuery: jQuery for Silverlight  (15198 hits)
Posted by Prabu Arumugam on Jan-05-2010
XamlQuery is a lightweight Silverlight library for rapid web development. It simplifies several tasks like page/document traversing; finding controls by name, type & property value; event handling; animating and much more. This article gives a summary about XamlQuery and explains some of the core methods that are used by XamlQuery to find parent and child controls in a rendered Silverlight page.

StringTable Utility Class  (8947 hits)
Posted by Prabu Arumugam on Jun-21-2010
StringTable is a useful data-structure for creating and processing tabular data, similar to System.Data.DataTable class. It is a simple and handy class for many purposes like creating and processing tabular data, reading database (like SQL, Oracle, etc.) table from System.Data.IDataReader, rendering data-grids in ASP.NET and Silverlight pages, creating comma-separated-values (CSV) files, serializing and deserializing tabular data in JSON, etc.

Dynamic Silverlight DataGrid  (25338 hits)
Posted by Prabu Arumugam on Jun-23-2010
This article explains how to create dynamic columns and rows for a Silverlight DataGrid control. It helps create a new DataGrid from scratch in code-behind, populated with values from a dictionary.

Json Serialization Utility  (8459 hits)
Posted by Prabu Arumugam on Jun-22-2010
Json is a lightweight data storage and interchange format. It is a subset of the object literal notation of JavaScript. In this article, we present techniques to convert any object to and from JSON representation.

Motion Detection Algorithm  (21306 hits)
Posted by Prabu Arumugam on Apr-09-2013
This article explains a simple motion-detection algorithm with full source code in C# and Silverlight. The algorithm is implemented by reading and manipulating the images pixel-by-pixel (no third party libraries are used). This is an ideal example for programmers who begin morphological image processing algorithms.

Expression Evaluation  (52890 hits)
Posted by Prabu Arumugam on Jul-11-2010
The shunting-yard-algorithm for expression evaluation is explained with a live demo in silverlight. The article includes a tokenizer, validator (both syntax validation and data-type validation) and an evaluator. The user can enter a free-text expression and see how an expression is converted from infix to postfix form and how it is being evaluated step by step.

Finding all Subsets of a Set  (52452 hits)
Posted by Prabu Arumugam on Jul-18-2010
This article explains how to find all subsets of a given set of items, without using recursion. A set contains 2N subsets, where N is the number or count of items in the set. The subsets are found using binary patterns (decimal to binary) of all the numbers in between 0 and (2N - 1).

Apriori Algorithm  (81717 hits)
Posted by Prabu Arumugam on Jul-21-2010
This article explain the basics of association rules and how to generate them using Apriori algorithm. A live demo in Silverlight with full source code is included in this article.

K-Means Algorithm  (85215 hits)
Posted by Prabu Arumugam on Aug-03-2010
K-means algorithm is explained and an implementation is provided in C# and Silverlight. It includes a live demo in Silverlight so that the users can understand the working of k-means algorithm by specifying custom data points.

Dijkstra's Path Finding  (36867 hits)
Posted by Prabu Arumugam on Aug-29-2010
This article explains Dijkstra's shortest path algorithm and applies the concepts to wireless-network routing along with an implementation in C# and Silverlight. The users can create a random map and choose a source and destination node (by clicking) in the map and see the routing visually in the Silverlight output.

Splitting a List Equally  (10935 hits)
Posted by Prabu Arumugam on Jul-28-2010
This article explains how to split an arbitrary list of items into equal groups. A generic function is written in C# to illustrate the concept. The function accepts a generic List and required number of groups and returns the groups.

Drawing in Silverlight  (17858 hits)
Posted by Prabu Arumugam on Aug-03-2010
This article explains how to develop a simple drawing application similar to Microsoft Paint. The user can draw free-hand shapes using mouse.

BrainBoard in Silverlight  (12232 hits)
Posted by Prabu Arumugam on Aug-12-2010
BrainBoard is a modified version of classic Peg Solitaire game. This article explains the game concepts and also the programming concepts used during development in Silverlight. This article includes the full source code of the game.

8pen Demo  (15185 hits)
Posted by Prabu Arumugam on Nov-11-2010
This article presents a cool 8pen demo application in Silverlight. If you don't have access to an Android smart-phone, you can learn how to use 8pen using this Silverlight app.

Silverlight Bullets & Indenting  (24697 hits)
Posted by Prabu Arumugam on Dec-23-2010
This article explains how to implement Bullets & Numbering and Indenting in Silverlight 4 RichTextBox control.

Connected Sets Labeling  (11010 hits)
Posted by Prabu Arumugam on Sep-22-2012
This article explains a sequential algorithm for finding the connected sets/components in a given matrix. A live Silverlight widget is provided in which the input matrix and regions can be generated dynamically. Full source code is available for download.

About About      Terms Terms      Contact Contact
codeding on Facebook Facebook      codeding on Twitter Twitter