ArionColumnAttribute class Core
Per-property hints for Column.AutoGenerate; everything is optional. DisplayAttribute (Name, Order) and BrowsableAttribute are honoured too, and this attribute wins where both are present.
public sealed class ArionColumnAttribute : Attribute
- Namespace
- ArionUI.Presentation
- Package
- ArionUI.Presentation ·
dotnet add package ArionUI.Presentation --prerelease - Inherits
- Attribute
Constructors
ArionColumnAttribute
public ArionColumnAttribute();
Properties
Format
public string? Format { get; set; }Display/commit format for number and date columns.
Header
public string? Header { get; set; }The column caption; the property name when null or blank.
Ignore
public bool Ignore { get; set; }Skips the property.
Key
public string? Key { get; set; }The stable column key; the property name when null or blank.
Order
public int Order { get; set; }Position among the generated columns (lower first); unordered properties count as 0 and keep declaration order among equals.
ReadOnly
public bool ReadOnly { get; set; }Never generates an editor, even when the property has a setter.
Width
public double Width { get; set; }Column width in logical pixels; the option default when zero.
