C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : ShowThemedHeaders Property |
'Declaration
<C1DescriptionAttribute("Gets or sets whether the control should use Xp themes for displaying row or column headers.")> <DefaultValueAttribute()> <CategoryAttribute("Appearance")> Public Property ShowThemedHeaders As ShowThemedHeadersEnum
'Usage
Dim instance As C1FlexGridBase Dim value As ShowThemedHeadersEnum instance.ShowThemedHeaders = value value = instance.ShowThemedHeaders
[C1Description("Gets or sets whether the control should use Xp themes for displaying row or column headers.")] [DefaultValue()] [Category("Appearance")] public ShowThemedHeadersEnum ShowThemedHeaders {get; set;}
[C1Description("Gets or sets whether the control should use Xp themes for displaying row or column headers.")] [DefaultValue()] [Category("Appearance")] public: property ShowThemedHeadersEnum ShowThemedHeaders { ShowThemedHeadersEnum get(); void set ( ShowThemedHeadersEnum value); }
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2