ConvertBack() public method

Not supported.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object
コード例 #1
0
        public void ConvertBack_Converts_To_Unset()
        {
            var conv = new NullEmptyCollapsedConverter();

            var result = conv.ConvertBack(Visibility.Collapsed, typeof(object), null, CultureInfo.CurrentCulture);

            Assert.AreEqual(DependencyProperty.UnsetValue, result, "No longer an unsupported operation?");
        }