Show / Hide Table of Contents

Interface IColumnBuilder<TObject>

Class that describes a data selector for generating a data column within a table.

Namespace: TheXDS.MCART.Types
Assembly: MCART.Wpf.FlowDocumentExtensions.dll
Syntax
public interface IColumnBuilder<TObject>
Type Parameters
Name Description
TObject

Type of object from which the information for the column will be extracted.

Properties

| Edit this page View Source

Header

Title of the column.

Declaration
string Header { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

Content(TObject)

Content of the current row to be set in this column.

Declaration
string Content(TObject obj)
Parameters
Type Name Description
TObject obj

Object from which to extract the content.

Returns
Type Description
string

The content in string format to be placed within the cell corresponding to this column in the current row.

| Edit this page View Source

Style(object?)

Gets a style to be used on the cell in this column of the current row.

Declaration
ICellStyle? Style(object? item)
Parameters
Type Name Description
object item
Returns
Type Description
ICellStyle

A style to apply to the generated cell, or null if it is not possible to obtain a valid style.

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX