16
WPF Basics

WPF Basics

Embed Size (px)

DESCRIPTION

Basics of WPF

Citation preview

Page 1: WPF Basics

WPFBasics

Page 2: WPF Basics

IndexO RenderingO Property System

O Change NotificationO StorageO Expressions

O XAMLO Logical TreeO Visual Tree

O BindingO NavigationO Events

O Routed EventsO CommandsO Attached Events

Page 3: WPF Basics

Rendering

Message Transport System

Composition System

Visual System

Screen

GPU

RemotingObject

s CPU

Page 4: WPF Basics

Rendering (Contd…)O Vector Graphics

Page 5: WPF Basics

Property SystemO Change Notification

O StorageO Per InstanceO Static

O Expressions

ViewView Mode

l

Update

Page 6: WPF Basics

INotifyPropertyChanged

Page 7: WPF Basics

Dependency Properties

Button 1

Button 2

Button 3

Grid.Column = 0

Shared Default Value

Grid.Column = 1

Button 4

Instance Specific Value

Page 8: WPF Basics

XAML

Web XAML

Windows AppReuse

Page 9: WPF Basics

Logical Tree

Grid

TextBlock

Page 10: WPF Basics

Visual Tree

Grid

TextBlock

Border

Text

Page 11: WPF Basics

NavigationO Window

O Navigation Window

O Page

Page 12: WPF Basics

EventsO Routed Events

O Commands

O Attached Events

Page 13: WPF Basics

Routed EventsO Tunneling

O Bubbling

O Direct

Grid Border Button

Grid Border Button

Page 14: WPF Basics

Commands

ICommand

CommandClass

Inheritance

Page 1

Page 2

Page 3

Page 15: WPF Basics

Attached Event

Page

Custom Control Custom Control Class

Page ClassEvent

Page 16: WPF Basics

Questions