แก้ไข

แชร์ผ่าน


Input and Commands How-to Topics

The topics in this section describe how to use the input and commanding infrastructure in Windows Presentation Foundation (WPF).

In This Section

Enable a Command
Change the Cursor Type
Change the Color of an Element Using Focus Events
Apply a FocusVisualStyle to a Control
Detect When the Enter Key is Pressed
Create a Rollover Effect Using Events
Make an Object Follow the Mouse Pointer
Create a RoutedCommand
Implement ICommandSource
Hook Up a Command to a Control with No Command Support
Hook Up a Command to a Control with Command Support

Reference

UIElement

FrameworkElement

ContentElement

FrameworkContentElement

Keyboard

Mouse

FocusManager