System.Object
        System.Windows.Threading.DispatcherObject
                System.Windows.DependencyObject
                        System.Windows.Media.Visual
                                System.Windows.Media.ContainerVisual
                                System.Windows.UIElement
                                        System.Windows.FrameworkElement
                                System.Windows.Media.Media3D.Viewport3DVisual

Visual:是WPF中用以呈现点击测试(与一个点、矩形、区域或其它对象之间执行像素级的点击检测,比如判断鼠标是否在一个对象内等),坐标转换和计算可视化对象尺寸范围的类。

以下是Visual,UIElement,FrameworkElement的构造示意:
public abstract class Visual : DependencyObject
public class UIElement : Visual, IAnimatable, IInputElement
public class FrameworkElement : UIElement, IFrameworkInputElement, IInputElement, ISupportInitialize

从Visual的构造看,它是继承于DependencyObject的抽像类。
而UIElement继承自Visual,FrameworkElement又继承自UIElement。

Visual是所有FrameworkElement的抽象基类。它为在WPF中写新的控件提供了入口点,在许多方面,你可以把它想像成为相当于Win32应用程序模式下的window句柄(HWND)。
Visual对象是WPF的核心对象,其主要角色是提供呈现支持(即为所有“FrameworkElement、UIElement”  提供 视觉呈现);用户控件,如按钮Button和文本框TextBox,都从Visual类继承,并使用Visual定义的属性来维持它们的呈现数据。

最新文章

  1. python-切片 迭代 生成器
  2. android两种基本联网方式与一种第三方开源项目的使用
  3. 根据Excel的内容和word模板生成对应的word文档
  4. 【前端】互联网公司2014前端笔试面试题JavaScript篇(待续)
  5. mysql 理解 int(11)
  6. Program C--二分
  7. HTTP幂等性
  8. Activity 的启动模式
  9. AngularJS and Asp.net MVC
  10. magento里的session传值
  11. linux安装安卓开发工具android studio
  12. 【BZOJ3529】数表(莫比乌斯反演,树状数组)
  13. 基于html5 plus + Mui 移动App开发(三)-食全库
  14. 【转载】 Sqlserver中通过Select Into语句快速单表备份
  15. 编年史:OI测试
  16. Python丢弃返回值
  17. Android为TV端助力 浅谈Aidl 通讯机制
  18. Linux批量修改(删除)文件名某些字符(rename命令)
  19. 解决Hive与Elasticsearch共有库 guava 冲突 NoSuchMethodError
  20. hadoop 遇到java.net.ConnectException: to 0.0.0.0:10020 failed on connection

热门文章

  1. yum -y install epel-release
  2. Design Pattern - 命令模式
  3. 第20章—跨域访问(CORS)
  4. django博客项目6:Django Admin 后台发布文章
  5. MySQL之表的约束
  6. Mysql学习笔记—索引
  7. 添加github ssh 公钥
  8. NoSQL2
  9. 在Windows Server 2008 R2上打开ping的方法
  10. qss 样式不生效--注释不能嵌套