Files
FlaxEngine/Source/Editor/CustomEditors/Elements/CheckBoxElement.cs
2021-01-02 14:28:49 +01:00

30 lines
751 B
C#

// Copyright (c) 2012-2021 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;
}
}