Home > Silverlight > HT Session 9 – Silverlight Converters

HT Session 9 – Silverlight Converters

After a gap of one week break, I started giving demo’s on silverlight . This time i started off with converters in silver light. converters are most important in the today of LOB. Convertion of data into different format is done through Converter.

They are 2 types of Converters:
– Type Converters
– Value Converters

Type Converters are used in Silver light custom control and attach these converter as attribute on top of dependency property. For example : when we edit xaml control with background=”Blue”, SL takes string “Blue” and pass string to type converter. Then type converter converts into Hex decimal color and paints background with hex decimal value.

Value converter are used in silver light application, where there is necessity of conversion of Data into expected format.

Here is the recorded Session

You can download PPT Silverlight Converters

You can download Code from here SLValueConverter
Replace .docx with ZIP format and extract.

Happy coding…


Categories: Silverlight Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: