dotnet / dotnet/docs-maui

Getting runtime exception AmbiguousMatchException when we are hiding default properties of a custom control in .NET MAUI

Open
#1,712 0 comments 0 reactions 0 assignees View on GitHub
doc-enhancement Pri3
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Description

![image](https://github.com/dotnet/docs-maui/assets/115541611/c4afa370-1a38-442f-8487-c781ad1ca9a4)

**Custom Control:**
![image](https://github.com/dotnet/docs-maui/assets/115541611/121c8081-4944-4db7-a884-835e85818818)

Using in XAML: -
![image](https://github.com/dotnet/docs-maui/assets/115541611/48f8bf22-e685-42ba-908d-3be5975357ff)

When the page is loadig we are getting runtime exception like above screenshot.

**Note:** In Xamarin. Forms its working fine and not throwing any exception.

Thanks
Gopi V

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.