Wednesday, December 15, 2010

Currency Masking in Silverlight Datagrid - CodeProject

Introduction to article
The code shows how to implement currency masking (format like $21,900) in Silverlight DataGrid using the IValueConverter. User can edit the data in numbers with out entering the commas.
Having knowledge in Silverlight data binding to DataGrid is enough to understand the code.
Create a simple Silverlight application in Visual Studio and create a class implementing the IValueConverter in the Silverlight project created in the solution, to use the class as value converter to render the values to datagrid cells in the required format.


Currency Masking in Silverlight Datagrid - CodeProject
Enhanced by Zemanta

No comments: