Reputation: 1110
I am creating a custom editor, but am not sure how to use it in xml. I tried reading tutorials online but none really explain what to use as the local variable in the xml.
I tried using xmlns:local="clr-namespace:SocialNetwork.Renderers;assembly=SocialNetwork.Renderers"
but it doesn't load and when I type <local:MessageEditor/>
there is no Text =
or any of those options
The path to the editor is SocialNetwork.Renderers
Custom Editor Code and the path is shown (PCL class)
namespace SocialNetwork.Renderers
{
public class MessageEditor : Editor
{
}
}
Upvotes: 0
Views: 93
Reputation: 4163
The assembly
should simply be SocialNetwork
. So use this:
xmlns:local="clr-namespace:SocialNetwork.Renderers;assembly=SocialNetwork"
Upvotes: 4