Design-Time Data

Design-time data enables visual preview testing in the XAML designer without running the application — the Windows equivalent of SwiftUI #Preview and Compose @Preview.

What to verify

  • Views SHOULD use d:DataContext and d:DesignInstance so the designer renders realistic content, not empty surfaces
  • Verify all significant view states are previewable: default, empty, error, loading, populated
  • Use XAML Hot Reload for rapid visual iteration during testing
version
1.1.1
platforms
csharp, windows
tags
design-time-data, platform, windows
author
Mike Fullerton
modified
2026-04-09

Change History

Version Date Author Summary
1.1.1 2026-04-09 Mike Fullerton Add trigger tags
1.1.0 2026-04-09 Mike Fullerton Tailor for testing use case — reframe as visual preview testing
1.0.1 2026-04-09 Mike Fullerton Reorganize into use-case directory
1.0.0 2026-03-27 Mike Fullerton Initial creation