liveBook · Manning

UITextView

As explained in .NET MAUI in Action

UITextView is a UIKit control that displays and edits multiline text on Apple platforms.

UITextView is the native UIKit view exposed as the .NET MAUI PlatformView for Entry controls on iOS and macOS. Custom handler mappings can adjust its appearance directly. section 11.3.3

A borderless Entry customization changes these UITextView properties:

Listing 11.16 The macOS and iOS customizations
handler.PlatformView.BackgroundColor = UIKit.UIColor.Clear;
handler.PlatformView.Layer.BorderWidth = 0;
handler.PlatformView.BorderStyle = UIKit.UITextBorderStyle.None;

Use the iOS and macOS handler mapping to remove the native UITextView background and border. section 11.3.3

How .NET MAUI in Action covers it

How deep it goes
Explains platform-view identification and three appearance properties, but does not develop UITextView behavior beyond border customization.
Examples
Uses a BorderlessEntry handler mapping that clears the background and removes the native border on iOS and macOS.
What it assumes
Assumes familiarity with .NET MAUI custom handlers, PlatformView access, and conditional platform code.
What you can do after
Apply handler mappings to remove native Entry borders on iOS and macOS.
How it connects
Connects UITextView with .NET MAUI handlers, Entry, UIKit, UIView, and Mac Catalyst.

This explainer was generated by Manning's knowledge graph from the text of .NET MAUI in Action. The section links point to the parts of the book it draws on.