CreateParams.ExStyle 属性

获取或设置扩展窗口样式值的按位组合。

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

语法

声明
Public Property ExStyle As Integer
用法
Dim instance As CreateParams
Dim value As Integer

value = instance.ExStyle

instance.ExStyle = value
public int ExStyle { get; set; }
public:
property int ExStyle {
    int get ();
    void set (int value);
}
/** @property */
public int get_ExStyle ()

/** @property */
public void set_ExStyle (int value)
public function get ExStyle () : int

public function set ExStyle (value : int)

属性值

扩展窗口样式值的按位组合。

备注

ExStyle 属性支持将扩展外观和初始状态值应用于控件。

有关创建控件参数的更多信息,请参见 MSDN Library 中的 Windows Platform SDK 参考中的 CreateWindow 函数、CreateWindowEx 函数以及 CREATESTRUCT 结构文档。

提示

用于设置 StyleExStyleClassStyle 属性的常数在 Winuser.h 头文件中定义。由 Platform SDK 或 Visual Studio .NET 安装该文件。

平台

Windows 98、Windows 2000 SP4、Windows CE、Windows Millennium Edition、Windows Mobile for Pocket PC、Windows Mobile for Smartphone、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

请参见

参考

CreateParams 类
CreateParams 成员
System.Windows.Forms 命名空间
Style
CreateParams.ClassStyle 属性