CreateParams.ExStyle 属性
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置扩展窗口样式值的按位组合。
public:
property int ExStyle { int get(); void set(int value); };
C#
public int ExStyle { get; set; }
member this.ExStyle : int with get, set
Public Property ExStyle As Integer
扩展窗口样式值的按位组合。
属性 ExStyle 支持应用于控件的扩展外观和初始状态值。
有关创建控件参数的详细信息,请参阅 CreateWindow 宏、 CreateWindowEx 函数和 CREATESTRUCT 结构。
备注
用于设置 、 ExStyle和 ClassStyle 属性的Style常量在 Winuser.h 头文件中定义。 此文件由平台 SDK 或 Visual Studio 安装。
产品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |