CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Voted
No files are attached
Aurimas86 wrote Mar 29, 2012 at 8:32 AM
{ private object originalValue; public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { originalValue = value; return value; } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { if (targetType != typeof(string)) { return value; } if (string.IsNullOrEmpty((string)value)) { return originalValue; } return value; } }
Aurimas86 wrote Apr 6, 2012 at 12:01 PM
Sign in to add a comment or to set email notifications
Keyboard shortcuts are available for this page.