ScrollableControlDesigner 类

设计器基类,用于扩展应接收滚动消息的 Control 的设计模式行为。

**命名空间:**System.Windows.Forms.Design
**程序集:**System.Design(在 system.design.dll 中)

语法

声明
Public Class ScrollableControlDesigner
    Inherits ParentControlDesigner
用法
Dim instance As ScrollableControlDesigner
public class ScrollableControlDesigner : ParentControlDesigner
public ref class ScrollableControlDesigner : public ParentControlDesigner
public class ScrollableControlDesigner extends ParentControlDesigner
public class ScrollableControlDesigner extends ParentControlDesigner

备注

ScrollableControlDesigner 为响应滚动消息的控件的设计器提供基类。除了从 ParentControlDesignerControlDesignerComponentDesigner 类继承的方法和功能外,ScrollableControlDesigner 还提供了 WndProc 方法重写,用于将 WM_HSCROLL 和 WM_VSCROLL 消息传递给设计时的控件。

提示

如果某窗体的 AutoScroll 属性设置为活动,则滚动条在设计时环境中总是处于活动状态。

可以使用 DesignerAttribute 将设计器与类型关联起来。有关自定义设计时行为的概述,请参见 扩展设计时支持

继承层次结构

System.Object
   System.ComponentModel.Design.ComponentDesigner
     System.Windows.Forms.Design.ControlDesigner
       System.Windows.Forms.Design.ParentControlDesigner
        System.Windows.Forms.Design.ScrollableControlDesigner
           System.Windows.Forms.Design.DocumentDesigner

线程安全

此类型的任何公共静态(Visual Basic 中的 Shared)成员都是线程安全的,但不保证所有实例成员都是线程安全的。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

ScrollableControlDesigner 成员
System.Windows.Forms.Design 命名空间
ParentControlDesigner 类
ControlDesigner 类
ComponentDesigner
IDesigner
IDesignerFilter
DesignerAttribute

其他资源

扩展设计时支持