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