liveBook · Manning

Custom control

A custom control is a developer-defined interface component whose behavior and presentation are implemented rather than provided by a native control.

How 2 Manning books explain it

Architecting Accessibility

A custom component is a developer-created interface component whose roles, states, labels, and behavior must be exposed to assistive technologies.

How it is used
Frames custom controls as a fallback when native HTML cannot provide the needed interface.
How deep it goes
Works through tab roles, selected states, panel relationships, keyboard handling, and focus management.
Examples
Contrasts a native button with a generic container and develops a tabbed interface with ARIA and JavaScript.
What you can do after
Build it from scratch using the Authoring Practices Guide when necessary, with semantics, keyboard behavior, and visible focus.

Read how Architecting Accessibility explains custom control →

.NET MAUI in Action

A custom control is a user-defined .NET MAUI interface control that extends or composes standard control behavior.

How it is used
Packages repeated or specialized .NET MAUI UI into reusable components, including controls shared across apps.
How deep it goes
Explains ContentView composition, bindable-property exposure, trigger-compatible enabled state, and control-library reuse; it only notes drawing and handler approaches.
Examples
Demonstrates a touch-friendly numeric stepper made from Buttons and an Entry, plus a BorderlessEntry replacement and a DTO-wrapping editor.
What you can do after
Build it from scratch by composing standard controls, exposing bindable properties, preserving enabled-state behavior, and moving reusable controls into libraries.

Read how .NET MAUI in Action explains custom control →

Related concepts

Questions about custom control

What is custom control?

A custom control is a developer-defined interface component whose behavior and presentation are implemented rather than provided by a native control.

Which Manning books explain custom control?

Architecting Accessibility and .NET MAUI in Action.

What is the difference between custom control and HTML element?

A custom control is a developer-defined interface component whose behavior and presentation are implemented rather than provided by a native control. An HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.