Table of Contents

Class ListColumn

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

describes a read-only column bound to some facet of an entity

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

Properties

AllowReordering

public bool AllowReordering { get; init; }

Property Value

bool

AllowZeroWidth

public bool AllowZeroWidth { get; init; }

Property Value

bool

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

ColumnType

type of cells generated for this column

public ColumnType ColumnType { get; init; }

Property Value

ColumnType

Converter

one-way converter from entity type to property type

public IValueConverter? Converter { get; init; }

Property Value

IValueConverter

ConverterParameter

public object? ConverterParameter { get; init; }

Property Value

object

DisplayOrder

default ordering within the list of columns

public int DisplayOrder { get; init; }

Property Value

int

DoNavigate

for Link, the left-click navigation

public ICommand? DoNavigate { get; init; }

Property Value

ICommand

DoNavigateInBackground

for Link, the middle-click navigation

public ICommand? DoNavigateInBackground { get; init; }

Property Value

ICommand

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

StringFormat

for Text, the {Binding StringFormat}

public string? StringFormat { get; init; }

Property Value

string

UniqueKey

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

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.