Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
ApplicationCommand « Windows Presentation Foundation « C# / C Sharp
C# / C Sharp
Windows Presentation Foundation
ApplicationCommand
1.
Bind ApplicationCommand to a handler
2.
Assign ApplicationCommands.Open to Button
3.
Binding command to ApplicationCommands.Redo
4.
Binding Command to ApplicationCommands.New
5.
Bind CanExecute to ApplicationCommands.Save
6.
Binding ApplicationCommands.New Command to your own handler
7.
Change ApplicationCommands.New.Text
8.
Call ApplicationCommands.New.Execute to execute the command directly
9.
Use CommandBinding to bind ApplicationCommands.New in code
10.
Use CommandBinding to Bind to ApplicationCommands
11.
Add ApplicationCommands.Cut to TextBox with TextBox.CommandBindings