FormControl.cs 630 B

1234567891011121314151617181920
  1. using Newtonsoft.Json.Linq;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Diagnostics.CodeAnalysis;
  5. using System.Text;
  6. using System.Xml.Linq;
  7. namespace InABox.Core.DigitalForms.NewLayout
  8. {
  9. /// <summary>
  10. /// A form control is <i>any</i> object which can be inside a <see cref="FormLayout"/>.
  11. /// </summary>
  12. public class FormControl
  13. {
  14. /// <summary>
  15. /// All <see cref="FormControl"/>s have an <see cref="ID"/>, which the <see cref="FormLayout"/> uses to put them into containers and layouts.
  16. /// </summary>
  17. public Guid ID { get; set; } = Guid.NewGuid();
  18. }
  19. }