docs-maui icon indicating copy to clipboard operation
docs-maui copied to clipboard

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

Open Ruben1204 opened this issue 1 year ago • 0 comments

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

Ruben1204 avatar Feb 14 '24 19:02 Ruben1204