Custom UI (Windows)
Support removed for Windows SDK
Please note that the Windows SDK is no longer supported. It will remain accessible, though please use it with caution. Find more information about our decision and a migration guide here.
Use your own window components with Paddle's SDK functions
You can also override the existing Paddle UI with your own custom-built windows. To do this you need to add an implementation of the appropriate interface (IProductInfoWindow
, ILicenseWindow
, or ILicenseRecoveryWindow
) to your window, and pass it into one of the corresponding OverrideWindow methods.
For example, if you wanted to replace the Product Info dialog with a custom WPF window, you would write your XAML code as usual:
preparing...
Then implement the IProductInfoWindow
in the code-behind file:
preparing...
Finally, tell the SDK to use your window. This needs to be done after the SDK has been initialized:
preparing...