OfficeTableOptions
OfficeIMO
Shared options for projecting typed rows into an editable native table.
Inheritance
- object
- OfficeTableOptions
Constructors
public OfficeTableOptions() #Inherited Methods
Properties
public bool IncludeHeaders { get; set; } #Includes a first row containing the selected member names. Defaults to true.
public string? Name { get; set; } #Optional native table name or identity, such as an Excel table name, a PowerPoint graphic-frame name or a Word table title. It is not rendered as visible text.
public string? Caption { get; set; } #Optional visible caption text shown with the table. Formats that have no visible table caption reject a non-null value.
public HashSet<string> Include { get; } #Optional member names to include, matched without regard to case.
public HashSet<string> Exclude { get; } #Member names to exclude, matched without regard to case.
public List<string> Order { get; } #Member names to place first. Remaining columns keep their discovery order.
public Dictionary<string, string> HeaderRenames { get; } #Display headers keyed by the original member name.
public List<OfficeAlignment?> Alignments { get; } #Column alignments in output order. A null entry keeps the format's default alignment.
public Dictionary<string, Func<object?, string>> Formatters { get; } #Cell formatters keyed by the original member name. Formatter failures propagate to the caller.
public Func<string, string>? HeaderTransform { get; set; } #Transforms headers that have no explicit entry in OfficeTableOptions.HeaderRenames.