Skip to content

Commit 2d4a691

Browse files
authored
added column decorators for properties to share same row (#116)
* added column decorators for properties to share same row * undo version
1 parent 5f0a8d3 commit 2d4a691

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,22 @@ public class FEDecoratorAttribute : Attribute
5151
public int RowId { get; set; } = 0;
5252

5353
/// <summary>
54-
/// Tooltip property.
54+
/// Property Column number. Used to define the order/position of properties within the same row.
55+
/// Properties with the same RowId will be ordered by their ColumnId value.
56+
/// If not set, properties will be displayed on different rows.
57+
/// </summary>
58+
public int? ColumnId { get; set; }
59+
60+
/// <summary>
61+
/// Property Column size. Used when displaying more than one property on the same row.
62+
/// Uses a 12-column grid system where the sum of all ColumnSize values on the same row should equal 12.
63+
/// For example: two properties can use sizes 3 and 9, or 6 and 6, or 4 and 8, etc.
64+
/// If not set, properties sharing the same row will be split equally.
65+
/// </summary>
66+
public int? ColumnSize { get; set; }
67+
68+
/// <summary>
69+
/// Tooltip property.
5570
/// </summary>
5671
public string Tooltip { get; set; }
5772

Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
18+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1919
</ItemGroup>
2020

2121
</Project>

0 commit comments

Comments
 (0)