【正文】
yles, data binding, null value handling, and events to track user cell selections. LinkLabel The LinkLabel control is a label control that is capable of displaying one or more hyperlinks. Splitter The Splitter control is a splitter bar that provides resizing capability to docked controls. ToolBar The ToolBar control is Windows toolbar that is capable of displaying images as buttons. User Controls The .NET Compact Framework now supports user controls. With the addition of user controls, .NET Compact Framework applications can now create controls graphically within Visual Studio 2020 and, just as the full .NET Framework, the .NET Compact Framework user controls automatically appear on the control Toolbox and can be placed on forms by using draganddrop. Display and Layout Management The wide variety of Windows Mobile form factors that are now available requires that application developers develop application user interfaces to be much more dynamic than in the past. To simplify the task of creating dynamic user interfaces, the .NET Compact Framework provides many new layout and management features. Control Docking The .NET Compact Framework controls now support docking. Docking a control places it against the edge of the parent control—filling that edge. As the parent control is resized, the docked control automatically resizes to always fill the specified edge of the parent control. Controls can also be docked to fill the entire parent. Control Anchoring The .NET Compact Framework controls also support anchoring. Anchoring a control identifies that one or more sides of the control should remain a fixed distance from the corresponding edge or edges of the parent control. As the parent control is resized, the control automatically resizes so the anchored sides of the control remain the appropriate distance from the corresponding edges of the parent control. Automatic Scrolling The Form and Panel control—in addition to other controls that inherit from the ScrollableControl control—now provide the AutoScroll property. When set to true, the control automatically provides a scroll bar to allow the user to scroll to any child controls that are outside the control39。s interaction with the Web browser content in addition to allowing your application to provide customized behaviors for these events. Notification The Notification control encapsulates the Pocket PC39。 the .NET Compact Framework provides a number of new controls. These new controls consist of controls that the .NET Compact Framework has in mon with the full .NET Framework in addition to controls that are specific to devices. MonthCalendar The MonthCalendar control is a customizable calendar control that provides a visual display of dates and is useful for providing a graphical way for users to select dates. DateTimePicker The DateTimePicker control is a customizable control for displaying and allowing users to enter date and time information. It is especially well suited for smart device applications due to its bination of a pact display and graphical date selection format. When displaying information, the DateTimePicker control renders similar to a text box。s New in the .NET Compact Framework Introduction The .NET Compact Framework version offers many improvements over its predecessor, the .NET Compact Framework version . Although the improvements are widespread, they all focus on the mon goals of improving developer productivity, providing greater patibility with the full .NET Framework and increasing support for device features. This article provides a highlevel summary of the .NET Compact Framework changes and enhancements. User Interface The relatively small size of smart device displays requires that applications use the available space efficiently, which historically has required that developers spend a great deal of time designing and implementing an application39。這篇文章里提到的有關(guān)每個(gè)主題的詳細(xì)文章在或者很快就會(huì)在 MSDN 上。 結(jié)論 希望這個(gè)摘要通過使用 .NET Compact 給了你一個(gè)關(guān)于有利于靈活設(shè)備開發(fā)商的許多新特性。連續(xù)端口還簡(jiǎn)化以連續(xù)端口發(fā)送和接收數(shù)據(jù) —— 包括自動(dòng)編碼和解碼數(shù)據(jù)發(fā)送和從端口接收數(shù)據(jù)。 SerialPort 類提供一個(gè)簡(jiǎn)化的對(duì)連續(xù)通信端口的提取。這些類為發(fā)送和接收包含使用事物創(chuàng)建基本操作的信息提供支持。 除性能改善之外,現(xiàn)在 .NET Compact 的 Web 服務(wù)器類為 版提供支持。除新的通信類之外, .NET Comp