1 interface inheriting from ITypeDescriptorContext
System.Xaml (1)
System\Windows\Markup\IValueSerializerContext.cs (1)
17public interface IValueSerializerContext : ITypeDescriptorContext
18 implementations of ITypeDescriptorContext
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TypeContext.cs (1)
20internal class TypeConvertContext : ITypeDescriptorContext
PresentationFramework (7)
MS\Internal\Data\DefaultValueConverter.cs (1)
725internal class ValueConverterContext : ITypeDescriptorContext, IUriContext
System\Windows\Controls\ContentPresenter.cs (1)
1125private class TypeContext : ITypeDescriptorContext
System\Windows\Documents\DPTypeDescriptorContext.cs (1)
18internal class DPTypeDescriptorContext : System.ComponentModel.ITypeDescriptorContext
System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
53private class DeferredBinaryDeserializerExtensionContext : ITypeDescriptorContext, IFreezeFreezables
System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
25private class TypeConverterContext : ITypeDescriptorContext
System\Windows\Markup\TypeContext.cs (1)
20internal class TypeConvertContext : ITypeDescriptorContext
System\Windows\TemplateContent.cs (1)
1411internal class ServiceProviderWrapper : ITypeDescriptorContext, IXamlTypeResolver, IXamlNamespaceResolver, IProvideValueTarget
ReachFramework (1)
Serialization\Manager\XpsTokenContext.cs (1)
13System.ComponentModel.ITypeDescriptorContext
System.Drawing.Common.Tests (1)
System\Drawing\Printing\MarginsConverterTests.cs (1)
148private class MyTypeDescriptorContext : ITypeDescriptorContext
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
18internal abstract partial class GridEntry : GridItem, ITypeDescriptorContext
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.TypeDescriptorContext.cs (1)
8internal sealed class TypeDescriptorContext : ITypeDescriptorContext
System\Windows\Forms\Design\CollectionEditVerbManager.cs (1)
17internal class CollectionEditVerbManager : IWindowsFormsEditorService, ITypeDescriptorContext
System\Windows\Forms\Design\EditorServiceContext.cs (1)
15internal class EditorServiceContext : IWindowsFormsEditorService, ITypeDescriptorContext
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (1)
51public class MyTypeDescriptorContext : ITypeDescriptorContext
System.Xaml (1)
System\Xaml\Context\ServiceProviderContext.cs (1)
14internal class ServiceProviderContext : ITypeDescriptorContext, // derives from IServiceProvider
System.Xaml.Tests (2)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
195private class CustomTypeDescriptorContext : ITypeDescriptorContext
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
42private class CustomTypeDescriptorContext : ITypeDescriptorContext
1419 references to ITypeDescriptorContext
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
4613public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 4626public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 4651public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft.AspNetCore.Components.Tests (6)
BindConverterTest.cs (4)
390public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 400public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 410public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 420public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
EventCallbackFactoryBinderExtensionsTest.cs (2)
690public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 699public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Http.Abstractions (3)
PathString.cs (3)
514public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 517public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 522public override object? ConvertTo(ITypeDescriptorContext? context,
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
DefaultApiDescriptionProviderTest.cs (2)
2911public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 2916public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (1)
1131public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
ModelBinding\Binders\HeaderModelBinderProviderTest.cs (1)
215public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
HeaderModelBinderIntegrationTest.cs (2)
498public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 503public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
SimpleTypeModelBinderIntegrationTest.cs (2)
834public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 839public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Converters\StringEnumConverter.cs (2)
65public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.Maui (55)
Converters\CornerRadiusTypeConverter.cs (4)
10 public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 13 public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 16 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 72 public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
Converters\EasingTypeConverter.cs (7)
13 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 16 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 19 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 53 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 75 public override bool GetStandardValuesSupported(ITypeDescriptorContext context) 78 public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) 81 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Converters\FlexEnumsConverters.cs (28)
12 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 15 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 18 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 39 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 51 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 54 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 57 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 74 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 86 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 89 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 92 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 113 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 125 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 128 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 131 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 148 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 160 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 163 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 166 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 183 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 195 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 198 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 201 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 216 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 228 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 231 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 234 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 258 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Converters\KeyboardTypeConverter.cs (4)
12 public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 15 public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 18 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 44 public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
Converters\ThicknessTypeConverter.cs (4)
13 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 18 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 21 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 93 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Primitives\GridLength.cs (4)
95 public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType) 98 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 105 public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) => false; 106 public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type? destinationType) => throw new NotSupportedException();
Primitives\SizeRequest.cs (4)
57 public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType) 59 public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 66 public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 68 public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type? destinationType)
Microsoft.Maui.Controls (164)
AcceleratorTypeConverter.cs (4)
19 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 22 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 25 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 35 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
BindablePropertyConverter.cs (4)
18 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 21 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 76 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 162 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Brush\BrushTypeConverter.cs (4)
32 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 37 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 40 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 84 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Button\Button.cs (4)
572 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 575 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 578 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 607 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
ColumnDefinitionCollectionTypeConverter.cs (4)
14 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 17 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 38 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
DecorableTextElement.cs (4)
17 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 20 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 23 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 49 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
DoubleCollectionConverter.cs (4)
12 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 17 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 47 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
FileImageSourceConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 26 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
FlowDirectionConverter.cs (4)
10 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 13 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 16 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 35 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
FontAttributes.cs (4)
24 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 27 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 30 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 66 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
FontSizeConverter.cs (4)
13 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 16 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 65 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 103 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
FormattedString.cs (4)
94 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 97 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 100 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 110 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
GridLengthTypeConverter.cs (4)
12 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 15 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 18 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 38 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
ImageSourceConverter.cs (4)
13 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 16 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 19 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 34 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Items\CarouselLayoutTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 30 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Items\ItemsLayoutTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 56 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Layout\BoundsTypeConverter.cs (4)
13 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 16 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 19 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 56 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
LayoutOptionsConverter.cs (7)
15 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 18 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 22 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 60 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 75 public override bool GetStandardValuesSupported(ITypeDescriptorContext context) 78 public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) 81 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
LegacyLayouts\ConstraintTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 28 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
ListStringTypeConverter.cs (4)
14 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 17 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 29 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
ReferenceTypeConverter.cs (4)
17 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 20 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 46 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 49 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
ResourceDictionary.cs (4)
398 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 401 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 453 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 456 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
RowDefinitionCollectionTypeConverter.cs (4)
14 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 17 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 37 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Shapes\MatrixTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 39 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Shapes\PathFigureCollectionConverter.cs (4)
15 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 18 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 24 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 677 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Shapes\PathGeometryConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 27 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Shapes\PointCollectionConverter.cs (4)
14 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 17 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 20 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 61 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Shapes\StrokeShapeTypeConverter.cs (2)
24 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 27 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Shapes\TransformTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 23 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Shell\ShellContent.cs (4)
430 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 433 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 436 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 446 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
Shell\ShellItem.cs (4)
349 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 355 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 358 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 368 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
Shell\ShellNavigationState.cs (4)
106 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) => false; 107 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type destinationType) => throw new NotSupportedException(); 109 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 112 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
Shell\ShellSection.cs (4)
1249 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) => false; 1250 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type destinationType) => throw new NotSupportedException(); 1252 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 1254 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
TextAlignment.cs (4)
10 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 13 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 16 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 44 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
TypeTypeConverter.cs (4)
13 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 16 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 29 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 32 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
UriTypeConverter.cs (4)
12 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 15 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 18 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 26 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
VisualElement\VisualElement.cs (4)
2381 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 2384 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 2387 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 2408 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Visuals\VisualTypeConverter.cs (7)
19 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 22 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 152 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 176 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 192 public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) 195 public override bool GetStandardValuesSupported(ITypeDescriptorContext context) 198 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
WebView\WebViewSource.cs (4)
37 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) => false; 38 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type destinationType) => throw new NotSupportedException(); 40 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 43 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
WebView\WebViewSourceTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 17 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 26 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft.Maui.Controls.DesignTools (25)
BoundsDesignTypeConverter.cs (1)
9 public override bool IsValid(ITypeDescriptorContext context, object value)
ButtonContentDesignTypeConverter.cs (1)
18 public override bool IsValid(ITypeDescriptorContext context, object value)
ColorDesignTypeConverter.cs (1)
191 public override bool IsValid(ITypeDescriptorContext context, object value)
ConstraintDesignTypeConverter.cs (1)
8 public override bool IsValid(ITypeDescriptorContext context, object value)
CornerRadiusDesignTypeConverter.cs (1)
10 public override bool IsValid(ITypeDescriptorContext context, object value)
FlexEnumDesignTypeConverters.cs (1)
105 public override bool IsValid(ITypeDescriptorContext context, object value)
FontSizeDesignTypeConverter.cs (1)
15 public override bool IsValid(ITypeDescriptorContext context, object value)
GridLengthCollectionDesignTypeConverter.cs (2)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool IsValid(ITypeDescriptorContext context, object value)
GridLengthDesignTypeConverter.cs (2)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool IsValid(ITypeDescriptorContext context, object value)
ImageSourceDesignTypeConverter.cs (1)
8 public override bool IsValid(ITypeDescriptorContext context, object value)
KnownValuesDesignTypeConverter.cs (5)
15 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 18 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) 21 public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) 24 public override bool GetStandardValuesSupported(ITypeDescriptorContext context) 27 public override bool IsValid(ITypeDescriptorContext context, object value)
NonExclusiveEnumConverter.cs (1)
7 public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
PointTypeDesignConverter.cs (1)
8 public override bool IsValid(ITypeDescriptorContext context, object value)
RectTypeDesignConverter.cs (1)
8 public override bool IsValid(ITypeDescriptorContext context, object value)
ThicknessTypeDesignConverter.cs (1)
9 public override bool IsValid(ITypeDescriptorContext context, object value)
VisibilityDesignTypeConverter.cs (4)
13 public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) => true; 14 override public bool GetStandardValuesSupported(ITypeDescriptorContext context) => true; 15 override public StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => standardValues; 16 public override bool IsValid(ITypeDescriptorContext context, object value)
Microsoft.Maui.Graphics (31)
Converters\ColorTypeConverter.cs (7)
11 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object fromValue) 21 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 29 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) 182 public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) 185 public override bool GetStandardValuesSupported(ITypeDescriptorContext context) 188 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 191 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Converters\PointFTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 26 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 37 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Converters\PointTypeConverter.cs (4)
11 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 14 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 26 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 37 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Converters\RectFTypeConverter.cs (4)
10 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 13 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 23 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 31 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Converters\RectTypeConverter.cs (4)
10 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 13 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 24 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 32 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Converters\SizeFTypeConverter.cs (4)
10 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 13 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 22 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 30 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Converters\SizeTypeConverter.cs (4)
10 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 13 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 22 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 30 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
netstandard (1)
netstandard.cs (1)
358[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.ITypeDescriptorContext))]
PresentationBuildTasks (5)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1779private CodeExpression GetPropertyValueExpression(ITypeDescriptorContext ctx, Type typeToConvertTo, Object value, string attributeValue)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (2)
2671internal ITypeDescriptorContext TypeContext 2682ITypeDescriptorContext _typeContext;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecordWriter.cs (2)
1857ITypeDescriptorContext TypeConvertContext 1903ITypeDescriptorContext _typeConvertContext;
PresentationCore (187)
MS\Internal\IListConverters.cs (16)
29public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 37public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 45public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 65public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 77internal abstract object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value); 82internal abstract object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); 94internal sealed override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 108internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 139internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 150internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 180internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 191internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 221internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 233internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 266internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 271internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Media\TypeConverterHelper.cs (1)
60internal static UriHolder GetUriFromUriContext(ITypeDescriptorContext context, object inputString)
System\Windows\CultureInfoConverter.cs (4)
48public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 62public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 85public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 115public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\DurationConverter.cs (4)
23public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 42public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 60ITypeDescriptorContext td, 99ITypeDescriptorContext context,
System\Windows\FontStretchConverter.cs (4)
20public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 38public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 55public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 88public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\FontStyleConverter.cs (4)
20public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 38public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 55public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 88public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\FontWeightConverter.cs (4)
20public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 38public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 55public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 88public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Ink\StrokeCollectionConverter.cs (5)
34public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 70public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 114public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 164public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
System\Windows\Input\Command\KeyGestureConverter.cs (4)
30public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 76public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 136public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\Command\MouseActionConverter.cs (4)
21public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 33public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 54public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 83public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\Command\MouseGestureConverter.cs (4)
31public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 51public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 113public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 140public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\CursorConverter.cs (6)
26public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 41public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 56public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) 85public override bool GetStandardValuesSupported(ITypeDescriptorContext context) 97public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 207public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\InputScopeConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 62public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 100public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 148public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\InputScopeNameConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 62public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 87public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\XmlLanguageConverter.cs (4)
41public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 55public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 78public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 108public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Media\Animation\KeySplineConverter.cs (4)
27public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptor, Type destinationType) 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 63ITypeDescriptorContext context, 93ITypeDescriptorContext context,
System\Windows\Media\Animation\KeyTimeConverter.cs (4)
25ITypeDescriptorContext typeDescriptorContext, 45ITypeDescriptorContext typeDescriptorContext, 65ITypeDescriptorContext typeDescriptorContext, 128ITypeDescriptorContext typeDescriptorContext,
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (4)
29public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 48public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 66ITypeDescriptorContext td, 109ITypeDescriptorContext context,
System\Windows\Media\Brush.cs (1)
54internal static Brush Parse(string value, ITypeDescriptorContext context)
System\Windows\Media\ColorConverter.cs (4)
21public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 39public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 69public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value) 98public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\FontFamilyConverter.cs (4)
25public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 39public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 72public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object o) 120public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\BrushConverter.cs (4)
28public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 83public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 114public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\CacheModeConverter.cs (4)
28public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 83public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 114public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\DoubleCollectionConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\GeometryConverter.cs (4)
28public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 83public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 114public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\Int32CollectionConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (4)
28public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 83public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 114public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\PointCollectionConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\TransformConverter.cs (4)
28public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 83public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 114public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\VectorCollectionConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\ImageSourceConverter.cs (4)
31public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 87public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 193public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\MediaTimeline.cs (2)
41internal MediaTimeline(ITypeDescriptorContext context, Uri source) : this() 254internal ITypeDescriptorContext _context = null;
System\Windows\Media\Parsers.cs (3)
84static private Color ParseContextColor(string trimmedColor, IFormatProvider formatProvider, ITypeDescriptorContext context) 192internal static Color ParseColor(string color, IFormatProvider formatProvider, ITypeDescriptorContext context) 240internal static Brush ParseBrush(string brush, IFormatProvider formatProvider, ITypeDescriptorContext context)
System\Windows\Media\PixelFormatConverter.cs (4)
24public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 42public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 69public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object o) 87public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\RequestCachePolicyConverter.cs (4)
21public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 41public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 62public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value) 99public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Media\SolidColorBrush.cs (1)
128internal static object DeserializeFrom(BinaryReader reader, ITypeDescriptorContext context)
System\Windows\Media3D\Generated\Matrix3DConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Point3DConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Point4DConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\QuaternionConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Rect3DConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Size3DConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Vector3DConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\TextDecorationCollectionConverter.cs (4)
23public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 42public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 59public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object input) 167public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
PresentationFramework (131)
System\Windows\ComponentResourceKeyConverter.cs (4)
30public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 72public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 95public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Condition.cs (1)
309private ITypeDescriptorContext _serviceProvider = null;
System\Windows\Controls\ContentPresenter.cs (5)
1133IContainer ITypeDescriptorContext.Container { get { return null; } } 1134object ITypeDescriptorContext.Instance { get { return _instance; } } 1135PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor { get { return null; } } 1136void ITypeDescriptorContext.OnComponentChanged() {} 1137bool ITypeDescriptorContext.OnComponentChanging() { return false; }
System\Windows\Controls\DataGridLengthConverter.cs (4)
22public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 68public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 124ITypeDescriptorContext context,
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (4)
33public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 64public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 94public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source) 129public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
System\Windows\CornerRadiusConverter.cs (4)
37public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 68public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 98public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source) 128public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
System\Windows\DeferrableContentConverter.cs (2)
16public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 26public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\DialogResultConverter.cs (4)
36public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 48public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 58public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 69public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Documents\DPTypeDescriptorContext.cs (5)
148System.ComponentModel.IContainer System.ComponentModel.ITypeDescriptorContext.Container 154object System.ComponentModel.ITypeDescriptorContext.Instance 162void System.ComponentModel.ITypeDescriptorContext.OnComponentChanged() 166bool System.ComponentModel.ITypeDescriptorContext.OnComponentChanging() 171System.ComponentModel.PropertyDescriptor System.ComponentModel.ITypeDescriptorContext.PropertyDescriptor
System\Windows\DynamicResourceExtensionConverter.cs (2)
27public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 39public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\Windows\EventSetterHandlerConverter.cs (4)
23public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 39public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 47public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 87public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\FigureLengthConverter.cs (4)
45ITypeDescriptorContext typeDescriptorContext, 79ITypeDescriptorContext typeDescriptorContext, 103ITypeDescriptorContext typeDescriptorContext, 139ITypeDescriptorContext typeDescriptorContext,
System\Windows\FontSizeConverter.cs (4)
30public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 44public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 61public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 98public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\GridLengthConverter.cs (4)
48ITypeDescriptorContext typeDescriptorContext, 82ITypeDescriptorContext typeDescriptorContext, 106ITypeDescriptorContext typeDescriptorContext, 159ITypeDescriptorContext typeDescriptorContext,
System\Windows\Input\Command\CommandConverter.cs (5)
44public override bool CanConvertFrom( ITypeDescriptorContext context, Type sourceType ) 63public override bool CanConvertTo( ITypeDescriptorContext context, Type destinationType ) 91public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object source ) 168public override object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) 209private Type GetTypeFromContext( ITypeDescriptorContext context, string typeName )
System\Windows\LengthConverter.cs (4)
43public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 73public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 103public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 133public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (5)
76void ITypeDescriptorContext.OnComponentChanged() 80bool ITypeDescriptorContext.OnComponentChanging() 85IContainer ITypeDescriptorContext.Container 90object ITypeDescriptorContext.Instance 95PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (5)
40void ITypeDescriptorContext.OnComponentChanged() 44bool ITypeDescriptorContext.OnComponentChanging() 49IContainer ITypeDescriptorContext.Container 54object ITypeDescriptorContext.Instance 59PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
System\Windows\Markup\BamlRecords.cs (2)
2671internal ITypeDescriptorContext TypeContext 2682ITypeDescriptorContext _typeContext;
System\Windows\Markup\BamlRecordWriter.cs (2)
1857ITypeDescriptorContext TypeConvertContext 1903ITypeDescriptorContext _typeConvertContext;
System\Windows\Markup\DependencyPropertyConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 51public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 63public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 88public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
193object ITypeDescriptorContext.Instance 657PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
System\Windows\Markup\RoutedEventConverter.cs (4)
20public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 36public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 44public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 135public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (5)
30public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 61public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 75public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 82internal static object ResolveValue(ITypeDescriptorContext serviceProvider,
System\Windows\Markup\TemplateKeyConverter.cs (4)
30public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 41public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 53public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 66public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\XamlTypeMapper.cs (1)
506ITypeDescriptorContext typeContext,
System\Windows\NullableBoolConverter.cs (3)
34public override bool GetStandardValuesSupported(ITypeDescriptorContext context) 46public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) 56public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
System\Windows\PropertyPath.cs (3)
103internal PropertyPath(string path, ITypeDescriptorContext typeDescriptorContext) 366private void PrepareSourceValueInfo(ITypeDescriptorContext typeDescriptorContext) 503void ResolvePathParts(ITypeDescriptorContext typeDescriptorContext)
System\Windows\PropertyPathConverter.cs (4)
44public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 65public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 94public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 127public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\ResourceReferenceExpressionConverter.cs (4)
34public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 61public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 88public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Setter.cs (1)
326private ITypeDescriptorContext _serviceProvider = null;
System\Windows\SystemKeyConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 57public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 85public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 108public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\TemplateBindingExpressionConverter.cs (2)
28public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 40public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\Windows\TemplateBindingExtensionConverter.cs (2)
31public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 43public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\TemplateContent.cs (5)
1481IContainer ITypeDescriptorContext.Container 1486object ITypeDescriptorContext.Instance 1491void ITypeDescriptorContext.OnComponentChanged() 1495bool ITypeDescriptorContext.OnComponentChanging() 1500PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
System\Windows\ThemeModeConverter.cs (4)
32public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 45public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 63public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, 91public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\ThicknessConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 69public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 91public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source) 121public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
System\Windows\Trigger.cs (1)
314private ITypeDescriptorContext _serviceProvider = null;
ReachFramework (17)
Serialization\ColorTypeConverter.cs (5)
50ITypeDescriptorContext context, 75ITypeDescriptorContext context, 101ITypeDescriptorContext context, 139ITypeDescriptorContext context, 220ITypeDescriptorContext context,
Serialization\FontTypeConverter.cs (5)
48ITypeDescriptorContext context, 73ITypeDescriptorContext context, 99ITypeDescriptorContext context, 137ITypeDescriptorContext context, 209ITypeDescriptorContext context,
Serialization\ImageSourceTypeConverter.cs (5)
53ITypeDescriptorContext context, 78ITypeDescriptorContext context, 104ITypeDescriptorContext context, 143ITypeDescriptorContext context, 291ITypeDescriptorContext context,
Serialization\VisualTreeFlattener.cs (2)
29ITypeDescriptorContext context, 55ITypeDescriptorContext context,
System (1)
src\libraries\shims\System\ref\System.cs (1)
344[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.ITypeDescriptorContext))]
System.CodeDom (12)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (6)
16public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) => 19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 37public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 61public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) => true; 63public override bool GetStandardValuesSupported(ITypeDescriptorContext context) => true; 65public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => new StandardValuesCollection(Values);
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (6)
16public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) => 19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 37public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 61public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) => true; 62public override bool GetStandardValuesSupported(ITypeDescriptorContext context) => true; 63public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => new StandardValuesCollection(Values);
System.ComponentModel.TypeConverter (167)
System\ComponentModel\ArrayConverter.cs (3)
18public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 33public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 61public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\ComponentModel\BaseComponentEditor.cs (1)
19public abstract bool EditComponent(ITypeDescriptorContext? context, object component);
System\ComponentModel\BaseNumberConverter.cs (4)
45public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 53public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 90public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 110public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\BooleanConverter.cs (5)
19public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 28public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 48public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 59public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => true; 67public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true;
System\ComponentModel\CharConverter.cs (3)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 26public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 42public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\CollectionConverter.cs (2)
19public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 34public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\ComponentConverter.cs (2)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 35public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\ComponentModel\CultureInfoConverter.cs (7)
43public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 52public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 61public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 139public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 174public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 214public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => false; 220public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true;
System\ComponentModel\DateOnlyConverter.cs (4)
20public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 26public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 35public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 77public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\DateTimeConverter.cs (4)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 81public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\DateTimeOffsetConverter.cs (4)
21public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 30public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 81public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\DecimalConverter.cs (2)
32public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 44public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\Design\DesignerOptionService.cs (3)
437public override bool GetPropertiesSupported(ITypeDescriptorContext? cxt) => true; 440public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? cxt, object value, Attribute[]? attributes) 460public override object? ConvertTo(ITypeDescriptorContext? cxt, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\EnumConverter.cs (8)
42public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 55public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 80public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 123public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 231public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 317public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 326public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true; 331public override bool IsValid(ITypeDescriptorContext? context, object? value) => Enum.IsDefined(EnumType, value!);
System\ComponentModel\ExpandableObjectConverter.cs (2)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 35public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\ComponentModel\GuidConverter.cs (4)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 56public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\InstanceCreationEditor.cs (1)
21public abstract object? CreateInstance(ITypeDescriptorContext context, Type instanceType);
System\ComponentModel\MultilineStringConverter.cs (3)
17public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 34public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 42public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => false;
System\ComponentModel\NullableConverter.cs (12)
41public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 58public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 79public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 100public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 132public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 148public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) 163public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 177public override bool GetPropertiesSupported(ITypeDescriptorContext? context) 190public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) 219public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 233public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) 246public override bool IsValid(ITypeDescriptorContext? context, object value)
System\ComponentModel\ReferenceConverter.cs (7)
33public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 46public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 84public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 124public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 174public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => true; 180public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true; 186protected virtual bool IsValueAllowed(ITypeDescriptorContext context, object value) => true;
System\ComponentModel\StringConverter.cs (2)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 26public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\TimeOnlyConverter.cs (4)
20public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 26public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 35public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 77public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\TimeSpanConverter.cs (4)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 65public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\TypeConverter.cs (19)
28public virtual bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 41public virtual bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 54public virtual object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 74public object? ConvertFromInvariantString(ITypeDescriptorContext? context, string text) 87public object? ConvertFromString(ITypeDescriptorContext? context, string text) 95public object? ConvertFromString(ITypeDescriptorContext? context, CultureInfo? culture, string text) 113public virtual object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 147public string? ConvertToInvariantString(ITypeDescriptorContext? context, object? value) 163public string? ConvertToString(ITypeDescriptorContext? context, object? value) 171public string? ConvertToString(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 187public virtual object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) => null; 221public virtual bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => false; 237public PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value) 249public virtual PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 262public virtual bool GetPropertiesSupported(ITypeDescriptorContext? context) => false; 272public virtual StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) => null; 285public virtual bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => false; 297public virtual bool GetStandardValuesSupported(ITypeDescriptorContext? context) => false; 307public virtual bool IsValid(ITypeDescriptorContext? context, object value)
System\ComponentModel\TypeListConverter.cs (7)
32public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 41public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 49public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 68public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 90public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 115public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => true; 121public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true;
System\ComponentModel\UriTypeConverter.cs (5)
23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 32public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 65public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 92public override bool IsValid(ITypeDescriptorContext? context, object? value)
System\ComponentModel\VersionConverter.cs (5)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 31public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 66public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 93public override bool IsValid(ITypeDescriptorContext? context, object? value)
System\Drawing\ColorConverter.cs (6)
28public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 33public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 38public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 48public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 140public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 145public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true;
System\Drawing\PointConverter.cs (8)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 61public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 95public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 110public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => true; 115public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 121public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\Drawing\RectangleConverter.cs (8)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 59public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 98public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 116public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => true; 121public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 127public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\Drawing\SizeConverter.cs (8)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 59public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 93public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 108public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => true; 113public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 119public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\Drawing\SizeFConverter.cs (8)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 58public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 90public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 105public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => true; 110public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 116public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (2)
16public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 22public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System.Configuration.ConfigurationManager (24)
System\Configuration\CommaDelimitedStringAttributeCollectionConverter.cs (2)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\ConfigurationConverterBase.cs (2)
10public override bool CanConvertTo(ITypeDescriptorContext ctx, Type type) 15public override bool CanConvertFrom(ITypeDescriptorContext ctx, Type type)
System\Configuration\GenericEnumConverter.cs (2)
22public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 27public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\IdnElement.cs (2)
41public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 50public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Configuration\InfiniteIntConverter.cs (2)
12public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 19public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\InfiniteTimeSpanConverter.cs (2)
13public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 22public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanMinutesConverter.cs (2)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 19public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanMinutesOrInfiniteConverter.cs (2)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanSecondsConverter.cs (2)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 20public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanSecondsOrInfiniteConverter.cs (2)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TypeNameConverter.cs (2)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 23public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\WhiteSpaceTrimStringConverter.cs (2)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) 18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System.Data.Common (21)
System\Data\ColumnTypeConverter.cs (7)
62public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) => 71public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 107public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) => 111public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 132public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 157public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => true; 163public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true;
System\Data\Common\DataColumnMapping.cs (2)
150public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 159public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\Common\DataTableMapping.cs (2)
172public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 181public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\ConstraintConverter.cs (2)
20public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) => 31public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\DataTableTypeConverter.cs (1)
11public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => false;
System\Data\DefaultValueTypeConverter.cs (2)
22public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 41public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\Data\PrimaryKeyTypeConverter.cs (3)
17public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => false; 19public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) => 23public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\RelationshipConverter.cs (2)
22public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 38public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System.Drawing.Common (36)
Special\NotSupported.cs (36)
369public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 370public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 371public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 372public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 373public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext? context, System.Collections.IDictionary propertyValues) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 374public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 376public override System.ComponentModel.PropertyDescriptorCollection? GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object? value, System.Attribute[]? attributes) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 377public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 381public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 382public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 383public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 384public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 385public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 392public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 729public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 730public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 731public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 732public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 822public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 823public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 824public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 825public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 827public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object? value, System.Attribute[]? attributes) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 828public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 834public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type? sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 835public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 836public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 837public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 838public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 839public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2735public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2736public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2737public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2738public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2739public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext? context, System.Collections.IDictionary propertyValues) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2740public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (4)
45public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 70public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 78public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 116public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (4)
27public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 38public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 55public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 99public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System.Windows.Forms (181)
System\Drawing\Design\IPropertyValueUIService.cs (2)
32/// An <see cref="ITypeDescriptorContext" /> that can be used to gain additional context information. 37PropertyValueUIItem[] GetPropertyUIValueItems(ITypeDescriptorContext context, PropertyDescriptor propDesc);
System\Drawing\Design\PaintValueEventArgs.cs (4)
17/// <param name="context">The <see cref="ITypeDescriptorContext"/> in which this value appears in.</param> 21public PaintValueEventArgs(ITypeDescriptorContext? context, object? value, Graphics graphics, Rectangle bounds) 35/// <see cref="ITypeDescriptorContext"/> object for additional information about the context this value appears in. 37public ITypeDescriptorContext? Context { get; }
System\Drawing\Design\PropertyValueUIHandler.cs (2)
11/// An <see cref="ITypeDescriptorContext" /> that can be used to obtain context information. 20public delegate void PropertyValueUIHandler(ITypeDescriptorContext context, PropertyDescriptor propDesc, ArrayList valueUIItemList);
System\Drawing\Design\PropertyValueUIItemInvokeHandler.cs (2)
13/// The <see cref="ITypeDescriptorContext" /> for the property associated with the icon that was double-clicked. 19public delegate void PropertyValueUIItemInvokeHandler(ITypeDescriptorContext context, PropertyDescriptor descriptor, PropertyValueUIItem invokedItem);
System\Drawing\Design\UITypeEditor.cs (6)
90/// The <see cref="ITypeDescriptorContext" /> that can be used to gain additional context information. 94public virtual object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) => value; 110/// The <see cref="ITypeDescriptorContext" /> that can be used to gain additional context information. 112public virtual bool GetPaintValueSupported(ITypeDescriptorContext? context) => false; 118/// The <see cref="ITypeDescriptorContext" /> that can be used to gain additional context information. 120public virtual UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.None;
System\Resources\ResxFileRef.Converter.cs (4)
16public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 19public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 23ITypeDescriptorContext? context, 94ITypeDescriptorContext? context,
System\Windows\Forms\ActiveX\AxHost.AxComponentEditor.cs (1)
15public override bool EditComponent(ITypeDescriptorContext? context, object obj, IWin32Window? parent)
System\Windows\Forms\ActiveX\AxHost.AxEnumConverter.cs (1)
25public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\ActiveX\AxHost.AxPropertyTypeEditor.cs (2)
30public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 49public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (4)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 22public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 26public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 38public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\ComponentModel\COM2Interop\Com2AboutBoxPropertyDescriptor.AboutBoxUITypeEditor.cs (2)
14public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 40public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
49public override unsafe bool EditComponent(ITypeDescriptorContext? context, object obj, IWin32Window? parent)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (8)
16public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 19public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destType) 22public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 25public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 39public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) 53public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => false; 55public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true; 57public override bool IsValid(ITypeDescriptorContext? context, object? value)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (12)
53public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 58public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 63public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 68public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 73public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 78public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) 84public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 89public override bool GetPropertiesSupported(ITypeDescriptorContext? context) 94public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) 99public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 104public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) 109public override bool IsValid(ITypeDescriptorContext? context, object? value)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedUITypeEditor.cs (3)
27public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 32public override bool GetPaintValueSupported(ITypeDescriptorContext? context) 37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IDispatchConverter.cs (6)
28public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) => false; 30public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 33public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 61public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 64public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => _allowExpand; 66public override bool GetStandardValuesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyEnumConverter.cs (1)
22public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (2)
29public override unsafe object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 77public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\ComponentModel\COM2Interop\Com2PropertyDescriptor.Com2PropDescMainConverter.cs (3)
32public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 51public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 67public override bool GetPropertiesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (2)
26public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 62public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Controls\Buttons\FlatButtonAppearanceConverter.cs (2)
12public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) => 17public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellConverter.cs (2)
14public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 24public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleConverter.cs (2)
17public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 34public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnConverter.cs (2)
13public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 30public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowConverter.cs (2)
13public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 23public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ImageList\ImageListConverter.cs (1)
18public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (8)
23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 37public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 50public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 86public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 119public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 143public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => true; 151public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 160public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\Windows\Forms\Controls\Labels\LinkConverter.cs (4)
19public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 33public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 46public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 82public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (2)
17public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 34public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (7)
21public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 35public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 53public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 88public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 113public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) 137public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 146public override bool GetStandardValuesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\ListView\ListViewItemConverter.cs (2)
24public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 41public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ListView\ListViewItemStateImageIndexConverter.cs (1)
42public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (2)
14public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 24public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (8)
23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 37public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 50public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 92public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 141public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 162public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) 173public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 183public override bool GetPropertiesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
43public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object component, Attribute[]? attributes)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionConverter.cs (1)
16public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 51public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (1)
18public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (3)
19public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 32public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 99public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (2)
22public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 39public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (3)
26public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 50public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 75public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\TreeView\TreeViewImageKeyConverter.cs (1)
22public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\WebBrowser\WebBrowserUriTypeConverter.cs (1)
10public override object? ConvertFrom(ITypeDescriptorContext? context, Globalization.CultureInfo? culture, object value)
System\Windows\Forms\DataBinding\ListBindingConverter.cs (4)
47public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 64public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 82public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 105public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context)
System\Windows\Forms\Design\EventsTab.cs (2)
56private IEventBindingService? GetEventBindingService(object @object, ITypeDescriptorContext? context) 98ITypeDescriptorContext? context,
System\Windows\Forms\Design\IWindowsFormsEditorService.cs (1)
17/// <see cref="UITypeEditor.EditValue(System.ComponentModel.ITypeDescriptorContext, IServiceProvider, object)"/>
System\Windows\Forms\Design\PropertyTab.cs (1)
126ITypeDescriptorContext? context,
System\Windows\Forms\Design\WindowsFormsComponentEditor.cs (2)
17public override bool EditComponent(ITypeDescriptorContext? context, object component) 33public virtual bool EditComponent(ITypeDescriptorContext? context, object component, IWin32Window? owner)
System\Windows\Forms\Dialogs\CommonDialogs\SpecialFolderEnumConverter.cs (1)
21public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\ImageIndexConverter.cs (6)
51public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 68public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 84/// An <see cref="ITypeDescriptorContext" /> that provides a format context, which can be used to extract 93public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 184public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 193public override bool GetStandardValuesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\ImageKeyConverter.cs (6)
48public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 61public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 83public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 105public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 195public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 204public override bool GetStandardValuesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\Input\CursorConverter.cs (6)
24public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 38public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 51public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 83public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 158public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 185public override bool GetStandardValuesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\Input\KeysConverter.cs (7)
130public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 137public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 151public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 220public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 364public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 384public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 393public override bool GetStandardValuesSupported(ITypeDescriptorContext? context)
System\Windows\Forms\MDI\MdiWindowListItemConverter.cs (1)
18public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (8)
13public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 33public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 64public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 76public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 96public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => true; 100public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 106public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (2)
14public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 24public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (4)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 32public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 45public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 63public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdges.cs (2)
18public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 27public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System.Windows.Forms.Design (114)
System\ComponentModel\Design\BinaryEditor.cs (3)
17private ITypeDescriptorContext? _context; 95public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 124public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
70protected ITypeDescriptorContext? Context => _editor.Context;
System\ComponentModel\Design\CollectionEditor.cs (4)
41protected ITypeDescriptorContext? Context { get; private set; } 219public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 230ITypeDescriptorContext? lastContext = Context; 293public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\ComponentModel\Design\DateTimeEditor.cs (2)
15public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 32public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (2)
17private ITypeDescriptorContext? _typeDescriptorContext; 29protected ITypeDescriptorContext TypeDescriptorContext => _typeDescriptorContext ??= new TypeDescriptorContext(ServiceProvider, PropertyDescriptor, _actionList!);
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (7)
298public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 311public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 324public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 341public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 357public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 380public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => false; 386public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true;
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
294public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\Design\MultilineStringEditor.cs (3)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 36public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown; 41public override bool GetPaintValueSupported(ITypeDescriptorContext? context) => false;
System\ComponentModel\Design\ObjectSelectorEditor.cs (3)
27public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 73public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown; 77protected virtual void FillTreeWithData(Selector selector, ITypeDescriptorContext? context, IServiceProvider provider)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (13)
20public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 27public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 33public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 40public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 47public override object? CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 54private static TypeConverter GetConverter(ITypeDescriptorContext? context) 65public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) 73public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 81public override bool GetPropertiesSupported(ITypeDescriptorContext? context) 88public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) 130public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) 139public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) 146public override bool IsValid(ITypeDescriptorContext? context, object? value)
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageCultureInfoConverter.cs (1)
31public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Drawing\Design\ColorEditor.cs (3)
19public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 41public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown; 44public override bool GetPaintValueSupported(ITypeDescriptorContext? context) => true;
System\Drawing\Design\ContentAlignmentEditor.cs (2)
19public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Drawing\Design\CursorEditor.cs (2)
22public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 40public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Drawing\Design\FontEditor.cs (2)
18public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 57public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Drawing\Design\FontNameEditor.cs (1)
27public override bool GetPaintValueSupported(ITypeDescriptorContext? context) => true;
System\Drawing\Design\IconEditor.cs (3)
55public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 97public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 105public override bool GetPaintValueSupported(ITypeDescriptorContext? context) => true;
System\Drawing\Design\ImageEditor.cs (3)
63public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 122public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal; 158public override bool GetPaintValueSupported(ITypeDescriptorContext? context) => true;
System\Windows\Forms\Design\AnchorEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 35public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\BorderSidesEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 39public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\CollectionEditVerbManager.cs (6)
68IContainer ITypeDescriptorContext.Container 89void ITypeDescriptorContext.OnComponentChanged() => ChangeService.OnComponentChanged(_designer.Component, _targetProperty); 94bool ITypeDescriptorContext.OnComponentChanging() 116object ITypeDescriptorContext.Instance 124PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor 134if (serviceType == typeof(ITypeDescriptorContext) || serviceType == typeof(IWindowsFormsEditorService))
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
30private ITypeDescriptorContext? _context; 84public ITypeDescriptorContext? Context
System\Windows\Forms\Design\DataGridViewCellStyleEditor.cs (2)
14public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 49public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 48public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\DataMemberFieldConverter.cs (3)
11public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) => 14public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 19public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Design\DataSourceListEditor.cs (2)
21public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 43public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Design\DesignBindingPicker.cs (3)
123private ITypeDescriptorContext? _context; // Context of the current 'pick' operation 374public DesignBinding? Pick(ITypeDescriptorContext? context, 2580ITypeDescriptorContext? context = _picker?._context;
System\Windows\Forms\Design\DesignBindingValueUIHandler.cs (2)
32internal void OnGetUIValueItem(ITypeDescriptorContext context, PropertyDescriptor propDesc, ArrayList valueUIItemList) 48private static void OnPropertyValueUIItemInvoke(ITypeDescriptorContext context, PropertyDescriptor descriptor, PropertyValueUIItem invokedItem)
System\Windows\Forms\Design\DockEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 34public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\EditorServiceContext.cs (6)
76IContainer? ITypeDescriptorContext.Container => _designer.Component.Site?.Container; 79void ITypeDescriptorContext.OnComponentChanged() 83bool ITypeDescriptorContext.OnComponentChanging() 96object ITypeDescriptorContext.Instance => _designer.Component; 98PropertyDescriptor? ITypeDescriptorContext.PropertyDescriptor => _targetProperty; 102if (serviceType == typeof(ITypeDescriptorContext) || serviceType == typeof(IWindowsFormsEditorService))
System\Windows\Forms\Design\FileNameEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 44public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\FolderNameEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 34public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\FormatStringDialog.cs (2)
12private readonly ITypeDescriptorContext? _context; 20public FormatStringDialog(ITypeDescriptorContext? context)
System\Windows\Forms\Design\FormatStringEditor.cs (2)
15public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 87public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Design\ImageIndexEditor.cs (2)
37protected virtual Image? GetImage(ITypeDescriptorContext context, int index, string? key, bool useIntIndex) 109public override bool GetPaintValueSupported(ITypeDescriptorContext? context)
System\Windows\Forms\Design\ImageListImageEditor.cs (2)
24public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 97public override bool GetPaintValueSupported(ITypeDescriptorContext? context) => true;
System\Windows\Forms\Design\LinkAreaEditor.cs (2)
17public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 65public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Design\ListControlStringCollectionEditor.cs (1)
20public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value)
System\Windows\Forms\Design\ListViewGroupCollectionEditor.cs (1)
63public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (3)
11public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 47public override bool GetPaintValueSupported(ITypeDescriptorContext? context)
System\Windows\Forms\Design\MaskPropertyEditor.cs (3)
58public override object? EditValue(System.ComponentModel.ITypeDescriptorContext? context, IServiceProvider provider, object? value) 77public override bool GetPaintValueSupported(System.ComponentModel.ITypeDescriptorContext? context) 81public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext? context)
System\Windows\Forms\Design\ShortcutKeysEditor.cs (2)
21public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value) 46public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System.Windows.Forms.Design.Tests (88)
System\ComponentModel\Design\ArrayEditorTests.cs (3)
136public void ArrayEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 163public void ArrayEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context) 226public new ITypeDescriptorContext Context => base.Context;
System\ComponentModel\Design\CollectionEditorTests.cs (18)
161Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 219Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 270Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 323Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 417Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 470Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 531Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 572Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 618Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 665Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 708Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 735Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 759public void CollectionEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 767public void CollectionEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context) 850Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 958Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 996Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 1028public new ITypeDescriptorContext Context => base.Context;
System\ComponentModel\Design\CollectionFormTests.cs (15)
118Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 174Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 233Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 292Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 351Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 405Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 511Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 570Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 622Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 676Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 732Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 771Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 831public new ITypeDescriptorContext Context => base.Context; 840public new ITypeDescriptorContext Context => base.Context; 855public new ITypeDescriptorContext Context => base.Context;
System\ComponentModel\Design\MultilineStringEditorTests.cs (2)
61public void MultilineStringEditor_GetEditStyle_Invoke_ReturnsDropDown(ITypeDescriptorContext context) 69public void MultilineStringEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\ComponentModel\Design\ObjectSelectorEditorTests.cs (2)
71public void ObjectSelectorEditor_GetEditStyle_Invoke_ReturnsDropDown(ITypeDescriptorContext context) 79public void ObjectSelectorEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Drawing\Design\BitmapEditorTests.cs (2)
29public void BitmapEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 62public void BitmapEditor_GetPaintValueSupported_Invoke_ReturnsTrue(ITypeDescriptorContext context)
System\Drawing\Design\ColorEditorTests.cs (2)
63public void ColorEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 71public void ColorEditor_GetPaintValueSupported_Invoke_ReturnsTrue(ITypeDescriptorContext context)
System\Drawing\Design\CursorEditorTests.cs (2)
62public void CursorEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 70public void CursorEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Drawing\Design\FontEditorTests.cs (2)
28public void FontEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 36public void FontEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Drawing\Design\FontNameEditorTests.cs (4)
13private readonly ITypeDescriptorContext _typeDescriptorContext; 17_typeDescriptorContext = new Mock<ITypeDescriptorContext>(MockBehavior.Strict).Object; 63public void FontNameEditor_GetEditStyle_Invoke_ReturnsNone(ITypeDescriptorContext context) 71public void FontNameEditor_GetPaintValueSupported_Invoke_ReturnsTrue(ITypeDescriptorContext context)
System\Drawing\Design\ImageEditorTests.cs (2)
64public void ImageEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 119public void ImageEditor_GetPaintValueSupported_Invoke_ReturnsTrue(ITypeDescriptorContext context)
System\Drawing\Design\MetafileEditorTests.cs (2)
22public void MetafileEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 46public void MetafileEditor_GetPaintValueSupported_Invoke_ReturnsTrue(ITypeDescriptorContext context)
System\Windows\Forms\Design\AnchorEditorTests.cs (2)
64public void AnchorEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 72public void AnchorEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Windows\Forms\Design\BorderSidesEditorTests.cs (2)
62public void BorderSidesEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 70public void BorderSidesEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Windows\Forms\Design\DataGridViewCellStyleBuilderTests.cs (2)
34Mock<ITypeDescriptorContext> context = new(); 37ITypeDescriptorContext result = builder.TestAccessor().Dynamic._context;
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (1)
13private static readonly ITypeDescriptorContext s_context = new MyTypeDescriptorContext();
System\Windows\Forms\Design\DockEditorTests.cs (2)
62public void DockEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 70public void DockEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Windows\Forms\Design\FileNameEditorTests.cs (2)
29public void FileNameEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 37public void FileNameEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Windows\Forms\Design\FolderNameEditorTests.cs (2)
21public void FolderNameEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 29public void FolderNameEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Windows\Forms\Design\FormatStringDialogTests.cs (1)
15private readonly Mock<ITypeDescriptorContext> _context = new(MockBehavior.Strict);
System\Windows\Forms\Design\FormatStringEditorTests.cs (2)
20private readonly Mock<ITypeDescriptorContext> _context; 46public void GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context)
System\Windows\Forms\Design\ImageIndexEditorTests.cs (2)
16private ITypeDescriptorContext? _context = new Mock<ITypeDescriptorContext>().Object;
System\Windows\Forms\Design\ListControlStringCollectionEditorTests.cs (3)
29Mock<ITypeDescriptorContext> context = new(); 44Mock<ITypeDescriptorContext> context = new(); 61Mock<ITypeDescriptorContext> context = new();
System\Windows\Forms\Design\MaskedTextBoxTextEditorTests.cs (7)
17Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 41Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 63Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 99Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 132Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 164Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 189Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict);
System\Windows\Forms\Design\MaskPropertyEditorTests.cs (2)
25var context = new Mock<ITypeDescriptorContext>().Object;
System\Windows\Forms\Design\ShortcutKeysEditorTests.cs (2)
62public void ShortcutKeysEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) 70public void ShortcutKeysEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System.Windows.Forms.Primitives (11)
System\ComponentModel\TypeConverterHelper.cs (1)
28public static bool TryParseAsSpan<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>(ITypeDescriptorContext? context, CultureInfo? culture, ReadOnlySpan<char> text, Span<T> output)
System\ServiceExtensions.cs (2)
67/// <param name="context">The <see cref="ITypeDescriptorContext"/> to retrieve the service object from.</param> 73[NotNullWhen(true)] this ITypeDescriptorContext? context,
System\Windows\Forms\PaddingConverter.cs (8)
14public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) => 17public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) => 20public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 43public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 69public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues) 109public override bool GetCreateInstanceSupported(ITypeDescriptorContext? context) => true; 112public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 118public override bool GetPropertiesSupported(ITypeDescriptorContext? context) => true;
System.Windows.Forms.Tests (40)
System\Drawing\Design\PaintValueEventArgsTests.cs (2)
15yield return new object[] { new Mock<ITypeDescriptorContext>(MockBehavior.Strict).Object, new(), new Rectangle(1, 2, 3, 4) }; 20public void PaintValueEventArgs_Ctor_ITypeDescriptorContext_Object_Graphics_Rectangle(ITypeDescriptorContext context, object value, Rectangle bounds)
System\Drawing\Design\PropertyValueUIItemTests.cs (1)
41private static void Dummy_PropertyValueUIItemInvokeHandler(ITypeDescriptorContext context, PropertyDescriptor propDesc, PropertyValueUIItem invokedItem) { }
System\Drawing\Design\UITypeEditorTests.cs (6)
23Mock<ITypeDescriptorContext> mockTypeDescriptorContext = new(MockBehavior.Strict); 24Mock<ITypeDescriptorContext> mockServiceProvider = new(MockBehavior.Strict); 30public void UITypeEditor_EditValue_Invoke_ReturnsValue(ITypeDescriptorContext context, IServiceProvider provider, object value) 39Mock<ITypeDescriptorContext> mockServiceProvider = new(MockBehavior.Strict); 59public void UITypeEditor_GetEditStyle_Invoke_ReturnsNone(ITypeDescriptorContext context) 79public void UITypeEditor_GetPaintValueSupported_Invoke_ReturnsFalse(ITypeDescriptorContext context)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (1)
1360public override bool EditComponent(ITypeDescriptorContext context, object component)
System\Windows\Forms\AxHostTests.cs (1)
3102public override bool EditComponent(ITypeDescriptorContext context, object component)
System\Windows\Forms\Design\PropertyTabTests.cs (2)
163Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 169public void PropertyTab_GetProperties_InvokeWithAttributes_ReturnsExpected(ITypeDescriptorContext context, object component, Attribute[] attributes)
System\Windows\Forms\Design\WindowsFormsComponentEditorTests.cs (4)
38Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 45public void WindowsFormsComponentEditor_EditComponent_InvokeITypeDescriptorContextObject_ReturnsFalse(Type[] pages, ITypeDescriptorContext context, object component) 59Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 67public void WindowsFormsComponentEditor_EditComponent_InvokeITypeDescriptorContextObjectIWin32Window_ReturnsFalse(Type[] pages, ITypeDescriptorContext context, object component, IWin32Window owner)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (4)
1859public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 1867public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 1875public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 1883public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Forms\ListControlTests.cs (3)
3042public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 3060public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 3074public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Forms\ListViewGroupConverterTests.cs (5)
50Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 78Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 108Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 163Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 279Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict);
System\Windows\Forms\PaddingConverterTests.cs (4)
138Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 178Assert.Throws<ArgumentNullException>("propertyValues", () => converter.CreateInstance(new Mock<ITypeDescriptorContext>(MockBehavior.Strict).Object, null)); 354Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict); 369Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict);
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (1)
71public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object component, Attribute[] attributes) => TypeDescriptor.GetProperties(component, attributes);
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (5)
127Mock<ITypeDescriptorContext> mockTypeDescriptorContext = new(MockBehavior.Strict); 143Mock<ITypeDescriptorContext> mockTypeDescriptorContext = new(MockBehavior.Strict); 159Mock<ITypeDescriptorContext> mockTypeDescriptorContext = new(MockBehavior.Strict); 231public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) 236public override bool GetPropertiesSupported(ITypeDescriptorContext context) => true;
System\Windows\Forms\TextBoxAutoCompleteSourceConverterTests.cs (1)
16Mock<ITypeDescriptorContext> mockContext = new(MockBehavior.Strict);
System.Windows.Forms.TestUtilities (3)
CommonTestHelperEx.cs (3)
182public static TheoryData<ITypeDescriptorContext> GetITypeDescriptorContextTestData() 184return new TheoryData<ITypeDescriptorContext> 187new Mock<ITypeDescriptorContext>(MockBehavior.Strict).Object
System.Windows.Forms.UI.IntegrationTests (1)
FolderNameEditorTests.cs (1)
36public override object? EditValue(ITypeDescriptorContext? context, IServiceProvider provider, object? value)
System.Xaml (59)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (5)
19public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 26public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 34public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 62public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 92public override bool IsValid(ITypeDescriptorContext context, object value)
System\Windows\Markup\NameReferenceConverter.cs (4)
15public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 25public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 65public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\StaticExtensionsToInstanceDescriptorsConverter.cs (2)
17public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 27public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\TypeExtensionConverter.cs (2)
17public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 27public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\XamlSetTypeConverterEventArgs.cs (3)
16ITypeDescriptorContext serviceProvider, CultureInfo cultureInfo) : 25ITypeDescriptorContext serviceProvider, CultureInfo cultureInfo, object targetObject) : 32public ITypeDescriptorContext ServiceProvider { get; private set; }
System\Xaml\Context\ServiceProviderContext.cs (5)
88void ITypeDescriptorContext.OnComponentChanged() 92bool ITypeDescriptorContext.OnComponentChanging() 97IContainer ITypeDescriptorContext.Container 102object ITypeDescriptorContext.Instance 107PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
System\Xaml\EventConverter.cs (3)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 27public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 41internal static void GetRootObjectAndDelegateType(ITypeDescriptorContext? context, out object? rootObject, out Type? delegateType)
System\Xaml\Replacements\DateTimeConverter2.cs (4)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) 28public override bool CanConvertTo(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) 38public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 41public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (4)
16public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 26public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 36public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 77public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Replacements\TypeListConverter.cs (2)
19public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 22public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Replacements\TypeTypeConverter.cs (6)
19public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 22public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 36public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 39public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 53private static string ConvertTypeToString(ITypeDescriptorContext context, Type type) 74private static TService GetService<TService>(ITypeDescriptorContext context) where TService : class
System\Xaml\Runtime\ClrObjectRuntime.cs (3)
169public override bool CanConvertFrom<T>(ITypeDescriptorContext context, TypeConverter converter) 185public override bool CanConvertTo(ITypeDescriptorContext context, TypeConverter converter, Type type) 217public override T ConvertToValue<T>(ITypeDescriptorContext context, TypeConverter converter, object instance)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (3)
115public override bool CanConvertFrom<T>(ITypeDescriptorContext context, TypeConverter converter) 120public override bool CanConvertTo(ITypeDescriptorContext context, TypeConverter converter, Type type) 130public override T ConvertToValue<T>(ITypeDescriptorContext context, TypeConverter converter, object instance)
System\Xaml\Schema\XamlTypeTypeConverter.cs (7)
14public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 35public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 40public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 56internal static string ConvertXamlTypeToString(ITypeDescriptorContext context, XamlType xamlType) 67private static XamlType ConvertStringToXamlType(ITypeDescriptorContext context, string typeName) 87private static TService GetService<TService>(ITypeDescriptorContext context) where TService : class
System\Xaml\XamlObjectReader.cs (3)
2470ITypeDescriptorContext typeDescriptorContext; 2526public ITypeDescriptorContext TypeDescriptorContext { get { return typeDescriptorContext; } } 2815if (serviceType == typeof(ITypeDescriptorContext)) { return this; }
System\Xaml\XamlRuntime.cs (3)
34abstract public bool CanConvertFrom<T>(ITypeDescriptorContext context, TypeConverter converter); 36abstract public bool CanConvertTo(ITypeDescriptorContext context, TypeConverter converter, Type type); 40abstract public T ConvertToValue<T>(ITypeDescriptorContext context, TypeConverter converter, object instance);
System.Xaml.Tests (10)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
132public void CanConvertTo_Invoke_ReturnsExpected(ITypeDescriptorContext context, Type destinationType, bool expected)
System\Windows\Markup\ValueSerializerTests.cs (8)
461public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 467public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType) 473public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value) 478public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) 486public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 491public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType) 499public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType) 504public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType)
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
23public void Ctor_XamlMember_TypeConverter_Object_ITypeDescriptorContext_CultureInfo(XamlMember member, TypeConverter typeConverter, object value, ITypeDescriptorContext serviceProvider, CultureInfo cultureInfo)
WinFormsControlsTest (5)
Dialogs.ClientGuidConverter.cs (4)
19public override bool GetStandardValuesSupported(ITypeDescriptorContext? context) => true; 20public override bool GetStandardValuesExclusive(ITypeDescriptorContext? context) => true; 22public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value) 31public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
UserControls\UserControlWithObjectCollectionEditor.cs (1)
33public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)