Modern UI for WPF uses a set of pre-defined page la S. A modern UI page is a user control that inherits control and is used to display content in the content area of the modern window. The page is often referenced in the modern Window Menu by using the modernwindow. menulinkgroups attribute. This article describes various la S and shows how to use them.
Tip: it
In WPF, the interface objects in the UI thread cannot be modified by threads other than the UI. If you want to modify the interface object values in a non-UI thread, you can use system. windows. threading. invoke method in the dispatcher class
Public
Void
Dowork ()
{Threadpool. queueuserworkitem (waitcall
The separation of the UI and style (controltemplate) on the custom controls of WPF/Silverlight is agreed by a common convention, where the role is templatepart. You can refer to the following links:
Custom Controls in WPF (3) customcontrol (lower): http://www.cnblogs.com/zhouyinhui/archive/2007/12/01/979715.html
Smooth animations, at the window level: http://pa
This article is mainly for you to introduce the WPF implementation of the regular refresh UI interface features, with a certain reference value, interested in small partners can refer to
The example of this article for everyone to share the WPF timed Refresh UI interface display of the specific code for your reference
, it will be lost.Template.
Solution:
Experience is that when you think that you must register the elements in the visual tree to link them to an event processing method, you can try to encapsulate the functions implemented by the methodCommand. For example, case1, You can wrap up or down the scroll bar (or left or right) pages, suchScrollbar. lineupcommand,Scrollbar. linedowncommandIn the formCommandYou can set the attribute to them. You can useTriggerTo achieve this goal (you may need to ad
There was a baby shoe in the crowd yesterday. How to obtain the UI object that executes the animation in the animation completion event completed.
The completed of animation in WPF itself does not return the UI object that executes the animation, but we can use the attached property storyboard.targetproperty to achieve the desired effect.
This column more highl
Using System;Using System.Collections.Generic;Using System.ComponentModel;Using System.Drawing;Using System.Linq;Using System.Windows.Forms;Using System.Threading;Namespace Doworker{public partial class Form1:form{delegate void MyDelegate (int value);Thread T;int i = 0;Public Form1 (){InitializeComponent ();}Do a "long time" job in a new threadprivate void Button1_Click (object sender, EventArgs e){t = new Thread (doWork);T.start ();}Work to be done for a long timevoid DoWork (){MyDelegate d = n
Article Description: the UI should follow the three major web design principles.
Touch-first design, responsive design, and mobile priority design are the three principles that the UI designer should follow in order to
It's easy to use metro style in WPF, you can draw it yourself.But in order to save time, ha, today we recommend a foreign Metro style control library.This article only plays the role, has the interest or the recommendation everybody official Officer Net, Thanks, the website address I will send at the bottom.Use stepsOne, use NuGet package management, add referencesInstall-package Mahapps.metroOr use Interface management:Second, modify the App.xaml fil
It's easy to use metro style in WPF, you can draw it yourself.But in order to save time, ha, today we recommend a foreign Metro style control library.This article only plays the role, has the interest or the recommendation everybody official Officer Net, Thanks, the website address I will send at the bottom.Achieve resultsIn fact, the following is just a simple setup of the form, as well as put some simple buttons, this is the example of the sample pr
Web page Production WEBJX article introduction: Classic Interactive design of mobile phone interface.
Before I saw an article discussing the consistency and difference between iphone interaction design and Android Interactive design, it emphasized the features of the platform itself, not to copy the UI
Do a few years of UI and interaction, this period has been in contact with web design and mobile phone application interface design, now a simple talk about the difference between the two, personal humble make a small summary, different views pat.
First of all, the Web design and mobile
Avalondock is a. NET Library, which arranges a series of wpf/winform controls in a docking mode layout (docking). The newly released version natively supports the MVVM framework, Aero snap effects, and better performance.
The Avalondock 2.0 version has been released, the new version is rewritten with the MVVM framework, and appears to be in command mode. The 2.0 version of the document has not yet been published, but you can refer to the Avalon.mvvmt
Every WEB designer has worked UI design, and even so, the scarcity of resources, narrow horizons, and often make their painstaking work is not optimistic, in fact, UI design does not need to be behind closed doors, many UI elements are generic. This article collects 20 sets
Article Description: 15 of excellent mobile UI designs inspire your creative inspiration.
As the saying goes, practice makes perfect, the best way for UI designers to quickly improve their design creativity is to keep practicing, but we don't advocate behind closed doors. To have a rich creative imagination, to look at the predecessors of the
Web page Production WEBJX article introduction: recently because I want to do a small web site, but also struggling to find a suitable art and design, can only own up. So I read some books about the user experience and the UI.
Recently because I want to do a small web site, but also struggling to find a suitable art and design, can only own up. So I r
Written in the front: reprint please indicate the sourceDirectory pinned:
About Project--------------------WCF+EF+WPF layered framework based on DDD Domain driven design (1)
Architecture--------------------WCF+EF+WPF Layered framework based on DDD Domain driven Design (2)
WCF service-side specific impl
Article Description: Mobile interface design drip.
The design of mobile platforms differs from traditional Web pages in many ways, such as unique interactive experiences, visual effects under different lighting, and limited resources for mobile terminals. These are testing the technology of the developer.
By recording the design of mobile interface, t
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.