TextBoxEditor.cs 554 B

123456789101112131415161718192021222324
  1. namespace InABox.Core
  2. {
  3. public class TextBoxEditor : BaseEditor, IButtonEditor
  4. {
  5. public TextBoxEditor()
  6. {
  7. Visible = Visible.Default;
  8. }
  9. public EditorButton[]? Buttons { get; set; }
  10. public bool ImmediateUpdates { get; set; } = true;
  11. protected override BaseEditor DoClone()
  12. {
  13. return new TextBoxEditor()
  14. {
  15. Buttons = Buttons,
  16. ImmediateUpdates = ImmediateUpdates
  17. };
  18. }
  19. }
  20. }