共用方式為


Windows Forms Controls in the .NET Compact Framework

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The .NET Compact Framework System.Windows.Forms classes are optimized for size and performance and use device resources judiciously. Most of the familiar and popular controls for Windows applications are available. You also can derive controls or create custom controls in your applications.

The .NET Compact Framework supports common Windows functionality including z-ordering, focus, activation, capture, overlapping, and parent-child relationships. Resource-intensive features, such as enumerations and events that are not appropriate for device applications, are not implemented.

In This Section

Term

Definition

Controls in the .NET Compact Framework

Describes the available controls in the .NET Compact Framework and their implementation behaviors.

Custom Control Development

Describes how to customize and extend controls.

Tab Order

Describes tab order behavior among controls in the .NET Compact Framework.

How to: Control Docking Behavior

Shows how to manipulate docking behavior when multiple controls are present on a form.

How to: Create a Custom Double-Click Event

Shows how to create a custom event.

How to: Create a Custom Image Button Control

Shows how to create a button that displays an image.

How to: Create a Numeric Text Box

Shows how to create a text box that accepts only numeric input.

How to: Create an Owner-Drawn List Box

Shows how to create a custom control for an owner-drawn list box.

How to: Create OnEnter Functionality

Describes a workaround for not having the OnEnter and OnLeave methods available in the .NET Compact Framework.

How to: Display User Help

Describes how to display help topics for .NET Compact Framework applications.

How to: Handle Orientation and Resolution Changes

Describes how to program your application so that it will display correctly with different screen orientations and pixel resolutions.

How to: Scroll Form Contents

Describes how to implement vertical and horizontal scrolling.

How to: Sort ListView Items

Describes a workaround for not having the Sort method for a ListView available in the .NET Compact Framework.

How to: Use the DateTimePicker Class in the .NET Compact Framework

Describes differences with the DateTimePicker class in the .NET Compact Framework.

Reference