DisplayMetadata.Placeholder 属性

定义

获取或设置一个委托,该委托用于获取模型的占位符文本的值。 请参阅 Placeholder

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

属性值

适用于