Files
FlaxEngine/Source/Editor/CustomEditors/Elements/CheckBoxElement.cs
2023-01-10 15:29:37 +01:00

30 lines
751 B
C#

// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
using FlaxEngine.GUI;
namespace FlaxEditor.CustomEditors.Elements
{
/// <summary>
/// The checkbox element.
/// </summary>
/// <seealso cref="FlaxEditor.CustomEditors.LayoutElement" />
public class CheckBoxElement : LayoutElement
{
/// <summary>
/// The check box.
/// </summary>
public readonly CheckBox CheckBox;
/// <summary>
/// Initializes a new instance of the <see cref="CheckBoxElement"/> class.
/// </summary>
public CheckBoxElement()
{
CheckBox = new CheckBox(0, 0);
}
/// <inheritdoc />
public override Control Control => CheckBox;
}
}