mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
21 lines
614 B
C#
21 lines
614 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface;
|
|
|
|
namespace Content.Client.Options.UI;
|
|
|
|
/// <summary>
|
|
/// Standard UI control used for drop-downs in the options menu. Intended for use with <see cref="OptionsTabControlRow"/>.
|
|
/// </summary>
|
|
/// <seealso cref="OptionsTabControlRow.AddOptionDropDown{T}"/>
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class OptionDropDown : Control
|
|
{
|
|
/// <summary>
|
|
/// The text describing what this drop-down controls.
|
|
/// </summary>
|
|
public string? Title
|
|
{
|
|
get => NameLabel.Text;
|
|
set => NameLabel.Text = value;
|
|
}
|
|
}
|