FlexGrid for WinForms
ShowThemedHeaders Property



Gets or sets whether the control should use Xp themes for displaying row or column headers.
Syntax
'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);
}
Remarks

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.

Requirements

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

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback