dotnet / dotnet/docs-maui

This document is not clear, what is said in this document does not work

Open
#2,070 0 comments 0 reactions 0 assignees View on GitHub
doc-enhancement dotnet-maui/subsvc dotnet-mobile/svc Pri2
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Description

### Type of issue

Code doesn't work

### Description

**I've created a Solution called CustomNamespace**

[1. Create one Proyect called CustomNamespace
2. Create One class library Inside of solution
3. within the library create a class to create a perzonalized control called circleButton
4. also within the library create a static class to implement the Init() method
5. then create a class that contains the declaration of the XmlnsDefinition to this class I named AssemblyInfo
6. Finally, within the other project of the solution, configure in the constructor of the page that consumes the namespace in the Behind codeigo the call to the Init() method.
7. And then I referenced it in the XAML header and implemented the perzonalized control ]

https://github.com/dotnet/docs-maui/assets/33400018/c9188235-7f4d-4946-a625-aebdfa941b52

### Page URL

https://learn.microsoft.com/es-es/dotnet/maui/xaml/namespaces/custom-namespace-schemas?view=net-maui-8.0

### Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/xaml/namespaces/custom-namespace-schemas.md

### Document Version Independent Id

5f1f8814-d976-7a43-edde-79ead359ec1c

### Article author

@davidbritch

### Metadata

* ID: 5f1f8814-d976-7a43-edde-79ead359ec1c
* Service: **dotnet-mobile**
* Sub-service: **dotnet-maui**

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.