Читати англійською Редагувати

Поділитися через


TemplateControl.EnableTheming Property

Definition

Gets or sets a Boolean value indicating whether themes apply to the control that is derived from the TemplateControl class.

C#
[System.ComponentModel.Browsable(true)]
public override bool EnableTheming { get; set; }

Property Value

true to use themes; otherwise, false. The default is true.

Attributes

Remarks

The EnableTheming property indicates whether themes are enabled for the control that is derived from the TemplateControl class. When the EnableTheming property is true, the theme directory for the application is searched for control skins to apply. If no skin for the particular control exists in the theme directory, skins are not applied.

Applies to

Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also