.NET Framework Class Library
DataSourceControl.EnableTheming Property
Gets a value indicating whether this control supports themes.
Assembly: System.Web (in System.Web.dll)
Syntax
Visual Basic
<BrowsableAttribute(False)> _ Public Overrides Property EnableTheming As Boolean Get Set
C#
[BrowsableAttribute(false)] public override bool EnableTheming { get; set; }
Visual C++
[BrowsableAttribute(false)] public: virtual property bool EnableTheming { bool get () override; void set (bool value) override; }
F#
[<BrowsableAttribute(false)>] abstract EnableTheming : bool with get, set [<BrowsableAttribute(false)>] override EnableTheming : bool with get, set
ASP.NET
<asp:DataSourceControl EnableTheming="True|False" />
Exceptions
| Exception | Condition |
|---|---|
| NotSupportedException |
An attempt was made to set the value of the EnableTheming property. |
Remarks
Because the DataSourceControl control has no visual rendering, it does not support themes.
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0, 2.0Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also