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)!; 157bool converterReadOnly = !PropertyDescriptor.Converter.CanConvertFrom(TypeDescriptorContext, typeof(string)); 161PropertyDescriptor.Converter.GetStandardValuesSupported(TypeDescriptorContext) && 162PropertyDescriptor.Converter.GetStandardValuesExclusive(TypeDescriptorContext); 231_button.Ellipsis = (_editor.GetEditStyle(TypeDescriptorContext) == UITypeEditorEditStyle.Modal); 232HasSwatch = _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);