public IDictionaryPropertyEditor() { this.Hints |= HintFlags.HasButton | HintFlags.ButtonEnabled; this.dictKeySetter = DefaultPropertySetter; this.offsetEditor = new NumericPropertyEditor(); this.offsetEditor.EditedType = typeof(int); this.offsetEditor.Minimum = 0; this.offsetEditor.PropertyName = "Offset"; this.offsetEditor.Getter = this.OffsetValueGetter; this.offsetEditor.Setter = this.OffsetValueSetter; this.offsetEditor.ValueMutable = true; }
public IListPropertyEditor() { this.Hints |= HintFlags.HasButton | HintFlags.ButtonEnabled; this.listIndexSetter = DefaultPropertySetter; this.sizeEditor = new NumericPropertyEditor(); this.sizeEditor.EditedType = typeof(int); this.sizeEditor.Minimum = 0; this.sizeEditor.PropertyName = "Size"; this.sizeEditor.Getter = this.SizeValueGetter; this.sizeEditor.Setter = this.SizeValueSetter; this.offsetEditor = new NumericPropertyEditor(); this.offsetEditor.EditedType = typeof(uint); this.offsetEditor.Minimum = 0; this.offsetEditor.PropertyName = "Offset"; this.offsetEditor.Getter = this.OffsetValueGetter; this.offsetEditor.Setter = this.OffsetValueSetter; this.offsetEditor.ValueMutable = true; }