'宣言 Public Property ShowThemedHeaders As ShowThemedHeadersEnum
public ShowThemedHeadersEnum ShowThemedHeaders {get; set;}
'宣言 Public Property ShowThemedHeaders As ShowThemedHeadersEnum
public ShowThemedHeadersEnum ShowThemedHeaders {get; set;}
This property only has an effect if the application is themed. To enable themes for an application, you can either call the Application.EnableVisualStyles method or use a manifest file. Please refer to MSDN for details.
Setting the System.Windows.Forms.BorderStyle property to BorderStyleEnum.XpThemes automatically sets this property to ShowThemedHeadersEnum.Both.