alternetsoft / AlternetUI

MIT License
22 stars 2 forks source link

AlterNET UI

AlterNET UI is a cross-platform .NET UI framework that allows the development of light-footprint .NET desktop applications that runs on Windows, macOS, and Linux with Microsoft Visual Studio or Visual Studio Code.

It is built on top of the .NET Framework and uses a XAML-like approach to define user interface and layout. It provides a set of standard controls that looks native on the target OS, such as Text Box, Label, CheckBox, Button, Image, TreeView, ListView, WebBrowser and more.

The framework includes a platform-independent graphic device interface for rendering graphical objects, such as fonts, brushes, images, and a layout engine.

For increased developer productivity, AlterNET UI extension for Visual Studio is available.

Useful links:

How to use:


How to build:

It is better to use AlterNET UI from NuGet. If you need a custom build, here is step by step instructions:

STEP 1. Windows Machine Setup:

STEP 2. macOS Machine Setup:

STEP 3. Linux Machine Setup:

STEP 4. (Optional) Specify target frameworks: You can modify list of target frameworks in files "Source\Samples\CommonData\TargetFrameworks.props" and "Source\Version\TargetFrameworks.props". This will speed up the build process.

STEP 5. Build:

If you want to use UI on single platform, run install script only there.

STEP 6. (Optional) Build NuGet packages on Windows Machine:

Important:

Please run the Install script each time you switch development platform (for example, when you switch from Linux to MSW, run Install.bat on MSW).

How to use with latest source from GitHub:

If you want to develop with latest AlterNET.UI source from GitHub instead of using it from NuGet, you can use MinMasterTemplate.