OptionDropDown.xaml.cs 617 B

123456789101112131415161718192021
  1. using Robust.Client.AutoGenerated;
  2. using Robust.Client.UserInterface;
  3. namespace Content.Client.Options.UI;
  4. /// <summary>
  5. /// Standard UI control used for drop-downs in the options menu. Intended for use with <see cref="OptionsTabControlRow"/>.
  6. /// </summary>
  7. /// <seealso cref="OptionsTabControlRow.AddOptionDropDown{T}"/>
  8. [GenerateTypedNameReferences]
  9. public sealed partial class OptionDropDown : Control
  10. {
  11. /// <summary>
  12. /// The text describing what this drop-down controls.
  13. /// </summary>
  14. public string? Title
  15. {
  16. get => NameLabel.Text;
  17. set => NameLabel.Text = value;
  18. }
  19. }