Perform the following steps steps to proceed:
- Let's create two folders, called Behaviors and Converters, inside the project.
- Now create one or more behaviors and converters in the respective folders. These will have CH05.NamespaceCustomizationDemo.Behaviors and CH05.NamespaceCustomizationDemo.Converters as the namespace for all the behaviors and converters in the respective modules.
- To create the URL schema for the namespace representation, open the AssemblyInfo.cs file present in the Properties folder of each project.
- Now, to create the schema to represent the namespace of the behaviors (CH05.NamespaceCustomizationDemo.Behaviors), let's add the following inside the file:
[assembly: XmlnsPrefix("http://schemas.kunal-chowdhury.com/xaml/behaviors", "behaviors")] [assembly: XmlnsDefinition("http://schemas.kunal-chowdhury.com/xaml/behaviors", "CH05.NamespaceCustomizationDemo.Behaviors")]
- Similarly, to define the URL...