Practicing and exploring
Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore this chapter's topics with deeper research.
Exercise 20.1 – Test your knowledge
Answer the following questions:
- .NET Core 3.0 is cross-platform. Windows Forms and WPF apps can run on .NET Core 3.0. Can those apps therefore run on macOS and Linux?
- How does a Windows Forms app define its user interface and why is this a problem?
- How can a WPF or UWP app define its user interface and why is this good for developers?
- List five layout containers and how their child elements are positioned within them.
- What is the difference between
Margin
andPadding
for an element like aButton
? - How are event handlers attached to an object using XAML?
- What do XAML styles do?
- Where can you define resources?
- How can you bind the property of one element to a property on another element?
- Why might...