Skip to content
Version 2.32.0
↓ Get the launcher

InputElement.Placeholder property

Opt-in hint text shown dimmed inside the field while it is EMPTY (e.g. “Message Guild…”), in both the plain and the RichEmoji field. Polled with the window refresh and diffed, so it can follow live state; return a cached string (it is read every refresh). Default null = no hint, unchanged. Init property (NOT a ctor param) for binary compatibility.

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