Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF fundamentals?

Tags:

c#

.net

vb.net

wpf

At the University we teach .NET (both VB and C#) using Windows Forms. We want to introduce the concept of Windows Presentation Foundation (WPF) to our advanced course. Which fundamentals of WPF does students need to learn in order to get the basic knowledge of WPF?

The idea is for student to use WPF in at least one of six assignments, and to learn all of these WPF Fundamentals seems a bit daunting. Which three-four basics is considered mandatory?

Thanx for your time!

like image 558
Benny Skogberg Avatar asked Aug 30 '10 13:08

Benny Skogberg


People also ask

Is WPF still relevant 2022?

“WPF would be dead in 2022 because Microsoft doesn't need to be promoting non-mobile and non-cloud technology. But WPF might be alive in that sense if it's the best solution for fulfilling specific customer needs today. Therefore, having a hefty desktop application needs to run on Windows 7 PCs with IE 8.

Is WPF easy to learn?

Speaking from a trainer perspective, WPF is complex, so it can be tricky to learn when poorly explained. It involves learning XAML and it many cases MVVM. If you want to learn quickly about both WPF and the MVVM pattern, read this book: Learn WPF MVVM.

What are the main components of WPF?

WPF Architecture: The major components of the WPF are PresentationFramework, PresentationCore, Milcore, Common Language Runtime(CLR), User32, Kernel. Milcore is written in unmanaged code in order to enable tight integration with DirectX, which is responsible for display.


1 Answers

Here is the list. I prepared for my junior programmer.

1) XAML Basics & Basic controls such as TextBox, Buttons etc.,
2) VisualTree and LogicalTree
3) Bubbling and Tunneling

4) DependencyProperty
5) AttachedProperty

6) DataTemplate
7) ControlTemplate

8) Style

9) DataBinding

Triggers:
10) EventTriggers
11) DataTriggers

MVVM Basics & Commands:
12) DelegateCommand
13) RelayCommand
14) ApplicationCommands
15) RoutedEvent
16) RoutedCommand

Transformations:
17) RenderTransform
18) LayoutTransform

Resources:
19) BinaryResource
20) LogicalResource
21) StaticResource
22) DynamicResource
23) RelativeResource

Panles and Basic Controls:
24) Layouts and Panels
25) UserControl
26) ContentControl
27) Some Controls like Grid, TreeView and Charts

Interfaces and Collections:
28) IValueConverter
29) INotifyPropertyChanged
30) ObservableCollection
31) CollectionViewSource

HTH

like image 200
Prince Ashitaka Avatar answered Sep 22 '22 01:09

Prince Ashitaka