Table of Contents

Class GridColumn

Namespace
The.WPF.Screens
Assembly
Instagile.WPF.dll

describes an IFieldModel-backed column, displayed either with a full FieldControl or as simple text

public sealed record GridColumn : IEquatable<GridColumn>
Inheritance
GridColumn
Implements
Inherited Members

Properties

AlwaysVisible

public bool AlwaysVisible { get; init; }

Property Value

bool

Caption

display text for the column header

public required string Caption { get; init; }

Property Value

string

DisplayOrder

public int DisplayOrder { get; init; }

Property Value

int

FieldBinding

property path to column's fieldmodel within row's screenmodel

public required string FieldBinding { get; init; }

Property Value

string

IsEditable

public bool IsEditable { get; init; }

Property Value

bool

IsVisible

public bool IsVisible { get; init; }

Property Value

bool

Metadata

PropertyInfo for the column.

public required PropertyInfo Metadata { get; init; }

Property Value

PropertyInfo

OrderingPrefKey

public required string OrderingPrefKey { get; init; }

Property Value

string

Sort

sort property for using this column in OrderBy

public PropertyInfo? Sort { get; init; }

Property Value

PropertyInfo

SortAscendingPrefKey

public required string SortAscendingPrefKey { get; init; }

Property Value

string

SortIndexPrefKey

public required string SortIndexPrefKey { get; init; }

Property Value

string

UniqueKey

unique version of the caption used to identify the field in preferences

public required string UniqueKey { get; init; }

Property Value

string

VisibilityPrefKey

public required string VisibilityPrefKey { get; init; }

Property Value

string

WidthOverride

public double? WidthOverride { get; init; }

Property Value

double?

WidthPrefKey

public required string WidthPrefKey { get; init; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.