79 implementations of Convert
PresentationFramework (16)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (7)
405public object Convert(object o, Type type, object parameter, CultureInfo culture) 440public object Convert(object o, Type type, object parameter, CultureInfo culture) 463public object Convert(object o, Type type, object parameter, CultureInfo culture) 577public object Convert(object o, Type type, object parameter, CultureInfo culture) 624public object Convert(object o, Type type, object parameter, CultureInfo culture) 667public object Convert(object o, Type type, object parameter, CultureInfo culture) 710public object Convert(object o, Type type, object parameter, CultureInfo culture)
src\Framework\MS\Internal\Data\DynamicValueConverter.cs (1)
45public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\AlternationConverter.cs (1)
39public object Convert (object o, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BooleanToSelectiveScrollingOrientationConverter.cs (1)
27public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BooleanToVisibilityConverter.cs (1)
34public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (1)
28public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
3160public object Convert(object o, Type type, object parameter, System.Globalization.CultureInfo culture)
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1951public object Convert(object o, Type type, object parameter, CultureInfo culture)
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (1)
72public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Navigation\JournalEntryListConverter.cs (1)
38public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Core.Presentation (13)
System\Activities\Core\Presentation\ArgumentIdentifierTrimConverter.cs (1)
14public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System\Activities\Core\Presentation\CaseLabelVisibilityConverter.cs (1)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\DisplayNameConverter.cs (1)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\DynamicActivityPropertyToTooltipConverter.cs (1)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\ExpressionToExpressionTextConverter.cs (1)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System\Activities\Core\Presentation\GenericTypeArgumentConverter.cs (1)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\HintTextMaxWidthConverter.cs (1)
16public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\IsStateRootDesignerConverter.cs (1)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\NotConverter.cs (1)
25public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\StateLinkButtonToolTipConverter.cs (1)
18public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\ServiceModel\Activities\Presentation\ActivityXRefConverter.cs (1)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\ServiceModel\Activities\Presentation\ContentButtonTitleConverter.cs (1)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System\ServiceModel\Activities\Presentation\TypeToTreeConverter.cs (1)
20object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation (50)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\GenericTypeParameterConverter.cs (1)
31object IValueConverter.Convert(object value, Type convertToType, object containerParameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\TextFormatConverter.cs (1)
38public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (1)
79public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ImageSourceToImageConverter.cs (1)
26public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NewItemFactoryTypeModelToDisplayNameConverter.cs (1)
40public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\newitemfactorytypemodeltotypenameconverter.cs (1)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NonZeroToBoolConverter.cs (1)
34public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
45public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
31public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\AppendSuffixConverter.cs (1)
49public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToDoubleConverter.cs (1)
66public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityCollpasedConverter.cs (1)
39public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityHiddenConverter.cs (1)
45public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ComposingConverter.cs (1)
27public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\EqualsConverter.cs (1)
18public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IntegerToVisibilityConverter.cs (1)
48public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IsNullConverter.cs (1)
21public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\NotConverter.cs (1)
23public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\NullToBoolConverter.cs (1)
33public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\SwitchConverter.cs (1)
47public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (1)
85public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
19public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelItemToAnnotationEnabledConverter.cs (1)
14public object Convert(object value, Type targetType, object parameter, Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (1)
23public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToOwnerActivityConverter.cs (1)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelToObjectValueConverter.cs (1)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\VBIdentifierTrimConverter.cs (1)
11public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowTransformConverter.cs (1)
21public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (1)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorStartDotConverter.cs (1)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\GenericTypeParameterConverter.cs (1)
37public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\NotConverter.cs (1)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\NullToBooleanConverter.cs (1)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\TextFormattingConverter.cs (1)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemImageConverter.cs (1)
23object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\TypeNameConverter.cs (1)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\VariableExpressionConverter.cs (1)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\CanExpandCollapseAllConverter.cs (1)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1636public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1697public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\ModelPropertyPathExpanderConverter.cs (1)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\PropertyEntryToEditingContextConverter.cs (1)
13public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\PropertyEntryToEditorOptionConverter.cs (1)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
874public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\TypeToArgumentTypeConverter.cs (1)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (1)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
1462public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1521public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
2156public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
27 references to Convert
PresentationFramework (5)
src\Framework\MS\Internal\Data\DynamicValueConverter.cs (1)
56result = _converter.Convert(value, targetType, parameter, culture);
src\Framework\System\Windows\Data\BindingExpression.cs (2)
1305value = Converter.Convert(value, targetType, ParentBinding.ConverterParameter, GetCulture()); 1640convertedValue = converter.Convert(value, targetType, parameter, culture);
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (1)
222value = Converter.Convert(value, typeof(object), level, culture);
src\Framework\System\Windows\StyleHelper.cs (1)
2766value = templateBinding.Converter.Convert(
System.Activities.Presentation (22)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ComposingConverter.cs (1)
31o = converters[i].Convert(o, targetType, parameter, culture);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
775DesignObjectWrapperDynamicPropertyEditor.ModelPropertyEntryToModelItemConverter.Convert(propertyValue, null, null, null);
System.Activities.Presentation\System\Activities\Presentation\GenericTypeParameterConverter.cs (1)
39return this.Converter.Convert(value, targetType, parameter, culture);
System.Activities.Presentation\System\Activities\Presentation\NotConverter.cs (1)
17return NotConverter.baseConverter.Convert(value, targetType, parameter, culture);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (16)
1504this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture); 1509this.baseConverter.Convert(25.0, typeof(string), null, CultureInfo.InvariantCulture), 1510this.baseConverter.Convert(50.0, typeof(string), null, CultureInfo.InvariantCulture), 1511this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), 1512this.baseConverter.Convert(200.0, typeof(string), null, CultureInfo.InvariantCulture), 1513this.baseConverter.Convert(400.0, typeof(string), null, CultureInfo.InvariantCulture) 1534this.baseConverter.Convert(25.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1536this.baseConverter.Convert(37.5, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1538this.baseConverter.Convert(50.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1540this.baseConverter.Convert(75.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1542this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1544this.baseConverter.Convert(150.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1546this.baseConverter.Convert(200.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1548this.baseConverter.Convert(300.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1550this.baseConverter.Convert(400.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1642return this.baseConverter.Convert(this.CalculateY((double)value), targetType, parameter, culture);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (2)
29ModelItem item = (ModelItem)converter.Convert(propertyValue.ParentProperty, typeof(ModelItem), false, null); 94typeToStringConverter.Convert(etb.ExpressionType ?? propertyValue.ParentProperty.PropertyType, typeof(string), null, CultureInfo.CurrentCulture);