Share via


DisplayMetadata.NullDisplayTextProvider Property

Definition

Gets or sets a delegate which is used to get the text to display when the model is null. See NullDisplayText.

public Func<string> NullDisplayTextProvider { get; set; }
public Func<string?> NullDisplayTextProvider { get; set; }

Property Value

Remarks

Setting NullDisplayTextProvider also changes NullDisplayText.

Applies to