Styles
Setter
EventSetter
Inheritance
Can have internal resource
Style.Triggers
Set data template
set control template
Resources
resource type
Dynamic Resource
Static resource
Merged Resource Dictionary
Uri
RelativeOrAbsolute
Relative
Absolute
Load resource example
Triggers
Property triggers
Event trigger
Data triggers
Multi triggers
MultiData triggers
Animation
Storyboard
Attached property
TargetName
TargetProperty
WPF Property Animation System
Animation Types
<Type>Animation
To
By
From
<Type>AnimationUsingKeyFrames
interpolation
discrete
linear
splined
steps
step1
step2
step3
Example
<InterpolationMethod><Type> KeyFrame
Value
KeyTime
<Type>AnimationUsingPath
<Type>AnimationBase
Animation object
property
Duration
AutoReverse
RepeatBehavior
BeginTime
FillBehavior
HoldEnd
Stop
Control the Speed
SpeedRatio
AccelerationRatio
DecelerationRatio
Subtopic 2
Subtopic 3
Actions
BeginStoryboard
Introduction
XAML
Dependency Properties
Attached properties
Logical and Visual Trees
object tree.
templates
Control template
ContentPresenter
ControlTemplate.Triggers
ContentTemplate
Data Template
DataTemplate.Triggers
Validation.ErrorTemplate
AdornedElementPlaceholder
selector
ContentTemplateSelector
DataTemplateSelector
Skins
Command
MVVM
Binding
{Binding}
ElementName
Path
example
Path=SelectedItem.Content
Mode
OneWay
TwoWay
Onetime
OneWayToSource
Source
default is dataContext
ObjectDataProvider
XmlDataProvider
Converter
IValueConverter
FallbackValue
RelativeSource
StringFormat
ValidationRules
ExceptionValidationRule
Exception
ValidatesOnExceptions
DataErrorValidationRule
IDataErrorInfo
Alternative Syntax
Custom rule
Example: AgeRangeRule
UpdateSourceTrigger
Default
Explicit
LostFocus
PropertyChanged
MultiBinding
Binding to Collections
ItemsControl
DisplayMemberPath
ItemsSource
INotifyCollectionChanged
ObservableCollection
ItemsTemplate
Collection Views
Get the Default View
Create collection view
Sorting
Filtering
Grouping
Routed Events
Create a Custom Routed Event
Tunneling
Bubbling
Direct
Installation
Class Hierarchy
Adorners
Testing
tree of peer classes
Effects
BlurEffect
DropShadowEffect
ShaderEffect
WPF Framework Class Hierarchy
MarkupExtension
BindingExtension
StaticResourceExtension
RelativeSourceExtension