Advertisement
Beginner .NET MAUI, Controls & Views

What is the difference between Label, Entry, and Editor?

Short answer

Label displays read-only text. Entry is a single-line editable text box (with keyboard, placeholder, IsPassword options). Editor is a multi-line editable text area that grows or scrolls. Choose Entry for names or search boxes and Editor for comments or descriptions.

Save .NET MAUI mock interview
Advertisement
AModel answer
Label displays read-only text. Entry is a single-line editable text box (with keyboard, placeholder, IsPassword options). Editor is a multi-line editable text area that grows or scrolls. Choose Entry for names or search boxes and Editor for comments or descriptions.
<Entry Placeholder="Email" Keyboard="Email" />
<Editor Placeholder="Your review" AutoSize="TextChanges" HeightRequest="120" />
Real-world example
A feedback form uses an Entry for the subject and an Editor that auto-grows as the user types their message.
Likely follow-ups
  • How do you make an Entry a password field? | What is AutoSize on Editor?
Related topics