计算机外文资料翻译----netcompactframework20中的新事物(编辑修改稿)内容摘要:

h track the user39。 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。 s notification feature that allows applications to send the user a notification without changing the context of the user39。 s current activity. The notification text can be plain text or HTML. In addition to displaying information, notifications can receive input from the user by including HTML buttons and links in the HTML text of the notification. DocumentList The DocumentList control provides a standard mechanism for displaying and managing files such as that which is used when opening files in Excel Mobile and Word Mobile. The DocumentList control provides the user with the ability to navigate around the file system and to delete, copy, move, and rename files. The user can also use the DocumentList control to send messages and send files by means of infrared to other devices. DataGrid on Smartphone Smartphone now supports the DataGrid control. Just like Pocket PC, the DataGrid control on Smartphone supports configurable column sizes, multiple display styles, 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 visible boundary. Automatic Scaling All ContainerControl derived controls, such as the Form control, now provide the AutoScaleMode property. The AutoScaleMode property indicates how the control should render when it is displayed on a resolution different than the resolution it was originally designed for. When set to , all child controls of the container control are scaled to match the runtime display39。 s resolution. A value of indicates that no automatic scaling will be done, making the application responsible to render correctly on the different resolutions. SuspendLayout and ResumeLayout The .NET Compact Framework Control class now supports the SuspendLayout and ResumeLayout methods. Just as in the full .NET Framework, these methods are used in conjunction wit。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。