The UI and logic of WPF/Silverlight are completely separated.

Source: Internet
Author: User

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://pavanpodila.spaces.live.com/blog/cns! 9c9e888164859398! 634. Entry

How to create controls using controltemplate: http://msdn.microsoft.com/zh-cn/library/cc964292 (vs.95). aspx

Navigable grid in Silverlight 2, supporting page navigation for list controls such as DataGrid: http://www.codeproject.com/KB/silverlight/NavigableGrid.aspx

Understand templated control in Silverlight 2.0: http://silverlight.cn/index.php? Q = node/597

Templatepartattribute usage of Silverlight: http://www.cnblogs.com/think8848/archive/2008/12/07/1349575.html

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.