Wednesday, 24 August 2011

Custom Markup Extension Silverlight

Here is an example of a simple custom markup extension.

The custom markup extension is bound to the text property of a textblock with both parameters hardcoded for this example: Value1 = 10 and Value2 = 20.

Giving us the result of:

ScreenShot113

Silverlight5 source code here:

http://stevenhollidge.com/blog-source-code/SimpleCustomMarkupExtension-Calculator.zip

No comments:

Post a Comment