DataSourceControl.EnableTheming DataSourceControl.EnableTheming DataSourceControl.EnableTheming DataSourceControl.EnableTheming Property

定义

获取一个值,该值指示此控件是否支持主题。Gets a value indicating whether this control supports themes.

public:
 virtual property bool EnableTheming { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool EnableTheming { get; set; }
member this.EnableTheming : bool with get, set
Public Overrides Property EnableTheming As Boolean

属性值

在所有情况下均为 falsefalse in all cases.

异常

尝试设置 EnableTheming 属性的值。An attempt was made to set the value of the EnableTheming property.

注解

DataSourceControl由于控件没有可视呈现, 因此它不支持主题。Because the DataSourceControl control has no visual rendering, it does not support themes.

适用于

另请参阅