Perhaps you aren't changing the culture at the outset I suggest that you try the approach given in the first answer in this link: Change culture of Silverlight application.
Perhaps you aren't changing the culture at the outset. I suggest that you try the approach given in the first answer in this link: Change culture of Silverlight application.
I don't want to set the language in the constructor, I want to be able to change it at runtime. This doesn't apply, this. Language is private set.
– Maxime ARNSTAMM Sep 15 at 12:08 Just because it is in the constructor does not mean it does not cannot at runtime. USe a parameterized constructor and include the logic similar to the SetLanguage method you have used – Mamta Dalal Sep 16 at 3:34.
One possible approach is to change the type of the property to string, even though you're storing a decimal value behind it. The getter would call ToString on the decimal value stored, and the setter would do the conversion back from string to decimal using Decimal. Parse or similar.
This approach does mean you have to do the type conversion yourself, but it does at least give you a bit more control. Your setter can throw exceptions to indicate validation errors. Alternatively, you can use one of the interfaces IDataErrorInfo and INotifyDataErrorInfo to show the validation error.
This page has an example of using IDataErrorInfo, and this one has an example using INotifyDataErrorInfo.
You can use custom implementation of ValidationRule and add to the Binding. ValidationRules collection. You'll have to clear the collection before (I am not sure how to do it XAML) and add this rule (how to do it is described in one of the MSDN page).
This class has Validate method, where you can perform your validation and return the error message you want.
In SL4 you can implement IDataErrorInfo interface. – Karel Frajtak Sep 22 at 13:39.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.