상세 컨텐츠

본문 제목

WPF Fundamentals - Architecture 간단 정리

WPF

by happynuri 2008. 1. 31. 14:28

본문

WPF Fundamentals - Architecture

System.Object
- PresentationFramework
- PresentationCore
- milcore

System.Threading.DispatcherObject
- Thread Affinity (Single Thread Affinity)
- Dispatcher (Basic message dispatching system, with multiple prioritized queues)

System.Windows.DependencyObject
- WPF Property System
  - Concept of a property expression (Not in V1)
  - Sparse Storage of Property values (모든 객체의 인스턴가 자기의 모든 속성을 가질 필요 없다)
  - Attached Properties(객체가 자신의 특성을 표현하는데 자식 객체를 사용하는데, 객체 속성으로 정의 할 필요 없다)

System.Windows.Media.Visual
- Building a tree of visual objects
- Managed API & Unmanaged milcore connection point
- Composition Nodes(Hierarchical Display Tree & Drawing Instructions)
- "Painter's Algorithm" Painting Model(Back to Front Render)
- "Property Centric" Model of Programming
  - Data Driven Rendering
  - Animation System

System.Windows.UIElement
- Layout
  - Measure
  - Arrange
- Input & Events (Raw input events -> Multiple actual events)
  - preview event (Tunnel)
  - actual event (Bubble)
- Routed Events
  - Bubble (to the root)
  - Tunnel (to the target)
- CommandBindings (Mapping)

System.Windows.FrameworkElement
- Policies and Customizations on the WPF Subsystems
  - Application Layout (UIElement Layout + Layout Slot)
  - Easier API Exposure
  - Data Binding (Property Binding, Transformation, List Binding)
   - Data Templates (How a piece of data should be visualized)
  - Styles (Lightweight form a data binding)
   - Bind a set of properties from a shared definition

System.Windows.Controls.Control
  - Templating (Rendering in a parameterized, declarative manner)
  - ControlTemplate (Child Elements with bindings to properties)
  - Set of properties (Template author can use to customize the display of a control)
   - Data Model(Properties)
   - Interaction Model(Commands and Events)
   - Display Model(Templates)
  - Content Model
 
출처 : http://www.lovehana.com/425

관련글 더보기

댓글 영역