DragAndDrop core
This commit is contained in:
27
Lattice.Serialization.Docking/DTO/GroupDto.cs
Normal file
27
Lattice.Serialization.Docking/DTO/GroupDto.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
namespace Lattice.Serialization.Docking;
|
||||
|
||||
/// <summary>
|
||||
/// DTO для группы разделения (DockGroup).
|
||||
/// </summary>
|
||||
public class GroupDto : ElementDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Первый дочерний элемент (левая или верхняя область).
|
||||
/// </summary>
|
||||
public ElementDto First { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Второй дочерний элемент (правая или нижняя область).
|
||||
/// </summary>
|
||||
public ElementDto Second { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Направление разделения в виде строки.
|
||||
/// </summary>
|
||||
public string Orientation { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Соотношение разделения между первым и вторым элементами (0.0 - 1.0).
|
||||
/// </summary>
|
||||
public double SplitRatio { get; set; } = 0.5;
|
||||
}
|
||||
Reference in New Issue
Block a user