Starting to code the PlaceHolder text feature for TextBoxes
5
How to do unboxing with the "as" keyword
6
Start the second part of the lecture. Adding a ListBox
7
Defining an ObservableCollection and binding to ListBox for automatic synchronization
8
Coding a random value generating method with thread-safe Random.Shared property
9
How to access UI elements from static methods in sub-threads
10
How to display hidden errors by enabling Common Language Runtime Exceptions in Microsoft Visual Studio
11
Handling "the calling thread cannot access this object because a different thread owns it error" for UI elements
12
How to do synchronization with Dispatcher.BeginInvoke
13
Starting the third part of the lecture. #Binding #UI elements to automatically notify properties
14
How to use #ObservableObject and #ObservableProperty of Microsoft Toolkit MVVM and Community Toolkit
15
How to bind UI element to ObservableProperty in XAML code
16
Setting #DataContext of UI element for proper binding
17
How to use notifyPropertyChangedEvent for automatic UI updates
18
How to get property change event triggering caller name automatically with CallerMemberName
19
#Async #Yield #Return Example
20
How to use Task.FromResult and await Task.Delay
21
How to use await keyword for an async ForEach loop
Description:
Learn how to create responsive and interactive user interfaces in WPF using .NET Core 7. Explore techniques for synchronizing UI elements, implementing TextBox placeholders, and leveraging asynchronous programming. Discover how to use ObservableCollection for automatic ListBox synchronization, handle thread-safe operations with Random.Shared, and manage UI access from sub-threads. Master the implementation of data binding with ObservableObject and ObservableProperty from Microsoft Toolkit MVVM. Gain insights into proper DataContext setting, automatic property change notifications, and advanced async programming techniques including yield return, Task.FromResult, and async ForEach loops.
Synchronizing WPF UI Elements Using Event Bindings - TextBox Placeholder WPF and Async Yield Return