10 [Editor(
"",
"System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
28 : base(property.
Name, null)
39 public override object GetValue(
object component)
77 public string Name {
get; }
83 [RequiresUnreferencedCode(
"The Type of DesignerOptionCollection's value cannot be statically discovered.")]
108 arrayList.CopyTo(
array);
144 bool ICollection.IsSynchronized =>
false;
146 object ICollection.SyncRoot =>
this;
148 bool IList.IsFixedSize =>
true;
150 bool IList.IsReadOnly =>
true;
172 parent._properties =
null;
187 [MemberNotNull(
"_children")]
290 : base(option.
Name, null)
324 [RequiresUnreferencedCode(
"The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
330 return propertyDescriptorCollection;
338 propertyDescriptorCollection.Add(property);
340 return propertyDescriptorCollection;
345 if (destinationType == typeof(
string))
349 return base.ConvertTo(cxt,
culture,
value, destinationType);
367 if (name.Length == 0)
374 [RequiresUnreferencedCode(
"The Type of DesignerOptionCollection's value cannot be statically discovered.")]
377 if (pageName ==
null)
381 if (valueName ==
null)
385 string[]
array = pageName.Split(
'\\');
387 string[] array2 =
array;
388 foreach (
string name
in array2)
390 designerOptionCollection = designerOptionCollection[name];
391 if (designerOptionCollection ==
null)
396 return designerOptionCollection.
Properties[valueName];
408 [RequiresUnreferencedCode(
"The option value's Type cannot be statically discovered.")]
414 [RequiresUnreferencedCode(
"The option value's Type cannot be statically discovered.")]
virtual IEnumerator GetEnumerator()
virtual int Add(object? value)
virtual bool Contains(object? item)
virtual void CopyTo(Array array)
virtual int IndexOf(object? value)
override void ResetValue(object component)
override Type PropertyType
WrappedPropertyDescriptor(PropertyDescriptor property, object target)
readonly PropertyDescriptor _property
override bool CanResetValue(object component)
override void SetValue(object component, object value)
override object GetValue(object component)
override AttributeCollection Attributes
override bool ShouldSerializeValue(object component)
override Type ComponentType
PropertyDescriptorCollection Properties
PropertyDescriptorCollection _properties
static object RecurseFindValue(DesignerOptionCollection options)
readonly DesignerOptionService _service
IEnumerator GetEnumerator()
int IndexOf(DesignerOptionCollection value)
void CopyTo(Array array, int index)
DesignerOptionCollection(DesignerOptionService service, DesignerOptionCollection parent, string name, object value)
DesignerOptionCollection? Parent
override void SetValue(object component, object value)
OptionPropertyDescriptor(DesignerOptionCollection option)
override bool ShouldSerializeValue(object component)
override bool CanResetValue(object component)
override void ResetValue(object component)
override object GetValue(object component)
override Type PropertyType
readonly DesignerOptionCollection _option
override Type ComponentType
override object ConvertTo(ITypeDescriptorContext cxt, CultureInfo culture, object value, Type destinationType)
override bool GetPropertiesSupported(ITypeDescriptorContext cxt)
override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext cxt, object value, Attribute[] attributes)
virtual void PopulateOptionCollection(DesignerOptionCollection options)
PropertyDescriptor GetOptionProperty(string pageName, string valueName)
DesignerOptionCollection CreateOptionCollection(DesignerOptionCollection parent, string name, object value)
DesignerOptionCollection Options
DesignerOptionCollection _options
virtual bool ShowDialog(DesignerOptionCollection options, object optionObject)
virtual AttributeCollection Attributes
int Add(PropertyDescriptor value)
void SetValue(object? component, object? value)
bool CanResetValue(object component)
bool ShouldSerializeValue(object component)
object? GetValue(object? component)
void ResetValue(object component)
static PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentType)
static CultureInfo InvariantCulture
static string Format(string resourceFormat, object p1)
static string CollectionConverterText
static string InvalidArgumentValue
void Insert(int index, object? value)
bool Contains(object? value)
void Remove(object? value)
int IndexOf(object? value)
void SetOptionValue(string pageName, string valueName, object value)
object? GetOptionValue(string pageName, string valueName)