10 references to TypeDescriptorContext
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (7)
41object? newValue = _editor.EditValue(TypeDescriptorContext, this, Value); 66string newItem = PropertyDescriptor.Converter.ConvertToString(TypeDescriptorContext, CultureInfo.CurrentCulture, standardValue)!; 160bool converterReadOnly = !PropertyDescriptor.Converter.CanConvertFrom(TypeDescriptorContext, typeof(string)); 164PropertyDescriptor.Converter.GetStandardValuesSupported(TypeDescriptorContext) && 165PropertyDescriptor.Converter.GetStandardValuesExclusive(TypeDescriptorContext); 234_button.Ellipsis = (_editor.GetEditStyle(TypeDescriptorContext) == UITypeEditorEditStyle.Modal); 235HasSwatch = _editor.GetPaintValueSupported(TypeDescriptorContext);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (3)
179converter.GetStandardValuesSupported(TypeDescriptorContext)) 181return converter.GetStandardValues(TypeDescriptorContext); 286protected override void OnValueChanged() => EditControl!.Text = PropertyDescriptor.Converter.ConvertToString(TypeDescriptorContext, Value);