3b5590d8a27a3ccde287e0ad45836d9a1425c397
How it works
-
Create new Class-Library for .NetFramework 4.7.2 or higher in Visual Studio.
-
Open Nuget-Manager and install "PTConverter.Plugin"
-
Add "PluginInfo.cs" and implement the interface "IPlugin".
-
Create a XAML user control with the dimensions 450 x 800.
-
Implement the "IPage" interface in your user control.
public string GetCategory() => "YourPluginPageName"; public UserControl GetPage() => new YourUserControl(); public string GetUnderCategory() => null; // null = Single Page public string GetUnderCategory() => "UnderPage"; // The main page has an underpage public IPage Page => this; -
Register your site in "PluginInfo.cs"
public IEnumerable<IPage> RegisterPages => new List<IPage>() { { new YourUserControl() } }; -
Pack your library as DLL in the "plugins" folder of the application.
-
Done.
Description
Languages
C#
100%