All quizzes
Free quiz · 20 questions in the bank

XAML quiz

Test your XAML knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

How does XAML typically handle wiring up an event handler for a UI element, e.g. a button click?

Questions in this quiz
  1. How does XAML typically handle wiring up an event handler for a UI element, e.g. a button click?
  2. What is the purpose of `x:Class` in the root element of a XAML file, e.g. `<Window x:Class="MyApp.MainWindow" ...>`?
  3. What is XAML?
  4. What is a "converter" (implementing `IValueConverter`) used for in the context of a XAML data binding?
  5. What is the purpose of the `x:Name` attribute on a XAML element?
  6. What is a XAML "element tree" (or "visual tree"), and how does nesting XML elements relate to it?
  7. What role does XAML play across multiple different .NET UI frameworks (WPF, UWP, .NET MAUI, Xamarin.Forms)?
  8. What is a "markup extension" in XAML (indicated by curly brace syntax, e.g. `{Binding PropertyName}`)?
  9. What is the purpose of `INotifyPropertyChanged` in relation to XAML data binding?
  10. What is a XAML `Style`, and what problem does it solve?
  11. What is the relationship between a XAML file and its "code-behind" file in a typical WPF or .NET MAUI project?
  12. How do you set a UI element's property using XAML attribute syntax?
Gaps to close?
Read the curated XAML notes — core concepts, patterns, interview prep.
XAML notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web