Short story : can you make 2 XAML to reference into single C# class? If so, how do you add the reference in the XAML?
Long story : I'm currently making an Universal App for 8.1 in VS. After investigating the code-behind, both platform have same codes (identical). So my plan is to put the class for code-behind in the Shared
folder, but I still don't know how to make both XAML (Windows 8.1 and WP8.1) to refer to this class as code-behind.
I've read this one : How do you reference a class through xaml?
But this is for WPF, and it specified the class as static
edit : I'm not making the XAML into shared file, since I've designed them platform-specific