Understand generic. XAML and themes

Source: Internet
Author: User

The name "Generic. XAML" is not accidental.
As described above, you may be impulsive to generic. the style code in XAML is cut out, pasted to any place that can be found by our control, and then generic. XAML deletes or changes it to a more elegant name. If you are lucky, this is feasible, because the control will look up the style from the bottom up (page, app, theme, but now you have made a potential mistake: You have not provided the default style for the control. the default style here is actually "the style used when the default topic is found for the control or not ". this involves theme related topics in WPF. If you are interested, refer to the msdn SDK.

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.