Dela via


DisplayMetadata.EditFormatStringProvider Property

Definition

Gets or sets a delegate which is used to get the edit format string for the model. See EditFormatString.

public:
 property Func<System::String ^> ^ EditFormatStringProvider { Func<System::String ^> ^ get(); void set(Func<System::String ^> ^ value); };
public Func<string> EditFormatStringProvider { get; set; }
public Func<string?> EditFormatStringProvider { get; set; }
member this.EditFormatStringProvider : Func<string> with get, set
Public Property EditFormatStringProvider As Func(Of String)

Property Value

Remarks

Setting EditFormatStringProvider also changes EditFormatString.

IDisplayMetadataProvider instances that set this property to a non-default value should also set HasNonDefaultEditFormat to true.

Applies to