KEMBAR78
Make more .NET MAUI Views public by jsuarezruiz · Pull Request #30872 · dotnet/maui · GitHub
Skip to content

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

There are some controls, like MauiSliderView that adds some behavior into a native control in order to make it work nicely with the framework. Having it internal will make it difficult to customize this control if needed.

This pull request updates the visibility of selected custom views, making them public to support greater flexibility and extensibility for developers working with platform-specific implementations.

Issues Fixed

Fixes #30762

@Copilot Copilot AI review requested due to automatic review settings July 28, 2025 11:10
@jsuarezruiz jsuarezruiz added the t/enhancement ☀️ New feature or request label Jul 28, 2025
@jsuarezruiz jsuarezruiz requested a review from a team as a code owner July 28, 2025 11:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR makes several internal custom view classes public to enable developers to customize platform-specific implementations more easily. The change addresses issue #30762 by exposing views that provide specialized behavior for .NET MAUI controls.

Key changes:

  • Makes internal platform view classes public for better extensibility
  • Updates public API surface files to reflect the visibility changes
  • Affects Android and Windows platform-specific implementations

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/Core/src/Platform/Windows/MauiSlider.cs Changes MauiSlider class from internal to public
src/Core/src/Platform/Android/MauiShapeableImageView.cs Changes MauiShapeableImageView class from internal to public
src/Core/src/Platform/Android/MauiScrollView.cs Changes MauiHorizontalScrollView class from internal to public
src/Controls/src/Core/Platform/Android/MauiViewPager.cs Changes MauiViewPager class from internal to public
src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt Updates public API surface to include newly public Android classes
src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt Updates public API surface to include newly public MauiViewPager class

@PureWeen
Copy link
Member

  • test failures unrelated

@PureWeen PureWeen merged commit f188d7b into net10.0 Aug 13, 2025
127 of 129 checks passed
@PureWeen PureWeen deleted the fix-30762-mauiviews branch August 13, 2025 16:58
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-core t/enhancement ☀️ New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants