WPF 学习笔记1-Coretypes
- DependencyObject
1.1 CLR properties are basic
Property Requirements:
n Change Notifications
n Default Values
n Type Coercion
n Data Binding
n Attached Properties
n Validation
n Inheritance
n Styling
1.2DependencyObject and DependencyProperty fill gaps
1.3Base class of many WPF types
1.4Metadate
l Default value
l Change callback
l Coercion callback
- Visua,UIElement and ContentElement
- FrameworkElement and FrameworkContentElement
- Freezable
n Brushes,Pens
n Geometries,Drawings,Tranforms
n BitpmapEffect,TextEffect
n Animations
n 3D Models