ButtonCode

This program demonstrates how to create a Button in code and process events from it. By default, the Button occupies the entire page.

The ButtonXaml sample is functionally identical but demonstrates how to create a button in XAML.

Author

Charles Petzold