Sends for the fellow dear visitors:welcome to dongpad!


 Welcome to DongPad!

 msn


Applications = Code + Markup读书笔记(1)

1. 关于Application和Window的层次结构

Object
└─DispatcherObject (abstract)
    ├─Application
    └─DependencyObject
        └─Visual (abstract)
           └─UIElement
               └─FrameworkElement
                   └─Control
                       └─ContentControl
                           └─Window

2.如果没有显示的设置Window的宽或高,他们的值将始终是NaN

The Width and Height properties are initially undefined, and if your program never sets them, they remain undefined, which means they have values of NaN, the abbreviation immortalized by the IEEE (Institute of Electrical and Electronics Engineers, Inc.) floating-point standard for "not a number."

3.与设备无关单位(1/96inches),这一点需要与DPI进行区分

The units in which you specify all dimensions and locations in Windows Presentation Foundation are sometimes called device-independent pixels or logical pixels but it's probably best not to refer to pixels at all.



评论: 0 | 引用: 0 | 查看次数: 914 | 返回顶部
发表评论
昵 称:    
验证码:   
 
内 容:
选 项:  
 
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 500 字 | UBB代码 开启 | [img]标签 开启