DataErrorColumns class Core

Shows the error an item reports for a column's field on the column's cells.

public static class DataErrorColumns
Namespace
ArionUI.Data
Package
ArionUI.Data · dotnet add package ArionUI.Data --prerelease

Methods

ShowDataErrors

public static ColumnDefinition<T> ShowDataErrors<T>(this ColumnDefinition<T> column, string? field = null);

Frames a cell in the theme's red while its item reports an error for field (DataErrorEditPolicy.ErrorOf) and adds the error to the cell's tooltip. The field defaults to the column's key.

Read while drawing, for the visible cells only. The cell repaints when its row changes; an item that reports a new error without a change notification of its own (ErrorsChanged alone) shows it with the next change of the row.