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:
 property Func<System::String ^> ^ NullDisplayTextProvider { Func<System::String ^> ^ get(); void set(Func<System::String ^> ^ value); };
public Func<string> NullDisplayTextProvider { get; set; }
public Func<string?> NullDisplayTextProvider { get; set; }
member this.NullDisplayTextProvider : Func<string> with get, set
Public Property NullDisplayTextProvider As Func(Of String)

Property Value

Remarks

Setting NullDisplayTextProvider also changes NullDisplayText.

Applies to