zoukankan      html  css  js  c++  java
  • XAML Guidelines

                         XAML Guidelines
                             周银辉

    Jaime Rodriguez 在其博客上发表了XAML Gudeline的初稿。虽然说每个团队都有着自己的风格,但这可以作为一个不错的参考,标准/规范无太多所谓的好坏,要的是“统一”,可以点击这里下载, 或到这里查看原文
    这里是目录:
    Contents
    Introduction ........................................................................................ 1
    Why XAML guidelines? .......................................................................... 1
    Come on, get to the guidelines. Please! .................................................. 1
    Overall Project Organization .................................................................. 2
    Naming conventions ............................................................................. 3
    Scenario 1: Naming elements within a scene ........................................... 3
    Scenario 2: Naming elements within a template ....................................... 4
    Organizing resources............................................................................ 5
    Scenario 1: Organizing logical resources within a scene ........................... 5
    Scenario 2: Organizing resources in a resource dictionary ........................ 6
    Using static versus dynamic resources (in non-themed projects) .............. 8
    Using static versus dynamic resources (in themed or skinned projects)...... 8
    Using the xmlns prefix.......................................................................... 8
    Using implicit styles versus explicit styles ............................................... 9
    Wrapping control templates in styles ..................................................... 9
    Templating inside Expression Blend ...................................................... 10
    Referencing file-based resources (dictionaries, images, fonts, etc.) .......... 10
    Declaring individual XAML elements ....................................................... 10
    Converters ........................................................................................ 11
    Commands ........................................................................................ 11
    Theming (or more commonly skinning) ................................................. 12
    Conclusion ........................................................................................ 13
    Thanks ............................................................................................. 13

  • 相关阅读:
    JAVA for(i = 0; i<a.length; i++) 解析
    3.2.2多维数组 3.3 排序
    3.2数组
    字符串和数组
    2.7.3与程序转移有关的跳转语句
    2.7.2 循环语句
    读书共享 Primer Plus C-part 4
    Linux 批量修改文件名
    关于/usr/local/lib/libz.a(zutil.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC解决办法
    做一个有深度的程序猿
  • 原文地址:https://www.cnblogs.com/zhouyinhui/p/1378157.html
Copyright © 2011-2022 走看看