+++ /dev/null
-//----------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//----------------------------------------------------------------
-
-namespace System.Activities.Presentation.Converters
-{
- using System.Windows.Data;
-
- class VBIdentifierTrimConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- return value;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- if (targetType == typeof(string) && value is string)
- {
- return ((string)value).Trim();
- }
- else
- {
- return value;
- }
- }
- }
-}