Is it possible to set FormatString dynamically
If user sets to show two decimalplaces or o decimal places can this be set dynamically?
I found post by Darell @ http://forums.infragistics.com/forums/p/55804/286499.aspx#286499
<Darell>
There isn't any thing in the grid that would allow that end user to change the .FormatString of a TextColumn but it is modifiable at runtime by the developer. You would need to display a UI of some type (maybe via a popup) that would allow you to know how many decimal points were desired and change the format string accordingly.
-- Darrell
</Darell>
I am using the sample code
http://www.deanchalk.me.uk/post/Generic-IValueConverter-for-Silverlight-or-WPF.aspx
This works great
But is it possible to give the ConverterParameter dynamically? So if user selects 3/4/5 decimal places how will it get applied for all the related textcolumns in the xaml?
I am unsure if the ConverterParameter can be bound. It might be possible. Even if its not you can add a property to your Converter which can be bound and can interact with the Convert method.