Skip navigation

We will update our Privacy Policy soon. Please see the preview.

Set the default and cancel buttons

Set the default and cancel buttons: Windows Presentation Foundation 5: Interaction and Controls
Set the default and cancel buttons: Windows Presentation Foundation 5: Interaction and Controls

It's good idea to designate a default and cancel button on certain app screens. These are useful in dialog screens. If the user decides to cancel a pending operation, they can press the Escape key to close an unwanted dialog or press the enter key to activate the default button. This video looks at the Button IsCancel and IsDefault properties.

Resume Transcript Auto-Scroll
Skill Level Intermediate
5h 51m
Duration
20,117
Views
Show More Show Less
Skills covered in this course
Desktop Apps Developer Visual Studio Windows

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month