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.

適用於

另請參閱