Completed
Setting #DataContext of UI element for proper binding
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Synchronizing WPF UI Elements Using Event Bindings - TextBox Placeholder WPF and Async Yield Return
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduction to the lecture
- 2 Composing the .NET Core 7 #WPF application
- 3 Starting to design the user interface
- 4 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