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

  • 相关阅读:
    TF-IDF
    线性回归梳理
    snappy 在linux安装及使用
    Hbase 写入机制详解与MVCC机制
    phoenix二级索引源码阅读
    利用SET工具制造钓鱼网站
    jQuery框架漏洞全总结及开发建议
    DDE注入(CSV)漏洞原理及实战案例全汇总
    burp插件大全 漏洞扫描 waf绕过 sql XSS 命令注入 fuzzer
    点击劫持(ClickJacking)漏洞挖掘及实战案例全汇总
  • 原文地址:https://www.cnblogs.com/zhouyinhui/p/1378157.html
Copyright © 2011-2022 走看看