Share a very beautiful WPF interface framework

Source: Internet
Author: User

Engage in the UI for mostProgramIt is a nightmare for Members. Therefore, we always strive to make the interface look more harmonious and cool. In this article, I will share a very beautiful and modern WPF interface framework. Here, I will introduce this interface framework and how to use this interface framework, which will be accompanied by the sample source code.

 

1. Get to know the interface framework

First, let's take a look at the style and functions of this interface framework. Take a piece as the general style of the interface framework.

This interface framework implements three levels of menus, which can be in the list or tab mode. This section describes Level 1 menus, level 2 menus, and content pages.

To display a level-3 menu, the system can have the following style.

You can also change the appearance color, skin, and font.

In addition, the interface provides a rollback function, allowing you to click the return button in the upper left corner of the interface to return to the previous interface.

This flexible layout can be well adapted to simple or complex application systems. Let's take a look at how to use it.

 

2. UI framework

The interface framework is one of the many plug-ins in the iopenworks plug-in repository interface framework plug-ins (http://www.iopenworks.com/Products/ProductDetails/Introduction? Proid = 374), fully reused. Other plug-ins can dynamically register the required menus and content to the interface framework. The following is the configuration of the Extended Interface Element.

This reusable interface framework exposes interface extensions. by defining an extension XML Information, You can automatically create a level-2 navigation menu or level-3 navigation menu on the interface framework, and display the created page in the content area.

Extended information configures level-1 menus by defining linkgroup, defining link configuration level-2 menus and corresponding displayed pages, and defining tablink to configure level-3 menus. Each plug-in can define multiple level-1 menus at the same time, as shown in, demoplugin defines two level-1 menus.

This interface framework provides dynamic support. When the plug-in is stopped, the interface elements registered by the plug-in disappear. As shown below. On the contrary, if other plug-ins are started after the new installation, the interface menus will become more and more.

The following is the demoplugin plug-in project, which creates eight WPF user controls. We can directly implement business logic on the page, instead of focusing on the interface, in addition, this interface framework can be reused directly in the next project.

The following address is an exampleCode: Click to download the sample source code.

I will share the source code of this interface framework later.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.