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 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 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. May be null.

public PropertyInfo Metadata { get; init; }

Property Value

PropertyInfo

OrderingPrefKey

public 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 string SortAscendingPrefKey { get; init; }

Property Value

string

SortIndexPrefKey

public string SortIndexPrefKey { get; init; }

Property Value

string

UniqueKey

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

public string UniqueKey { get; init; }

Property Value

string

VisibilityPrefKey

public string VisibilityPrefKey { get; init; }

Property Value

string

WidthOverride

public double? WidthOverride { get; init; }

Property Value

double?

WidthPrefKey

public 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.