Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataSourceControl.EnableTheming Property

Gets a value indicating whether this control supports themes.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

[BrowsableAttribute(false)]
public override bool EnableTheming { get; set; }

Property Value

Type: System.Boolean
false in all cases.

ExceptionCondition
NotSupportedException

An attempt was made to set the value of the EnableTheming property.

Because the DataSourceControl control has no visual rendering, it does not support themes.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft