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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft