TemplateControl.EnableTheming Propriedade

Definição

Obtém ou define um valor booliano que indica se os temas se aplicam ao controle derivado da classe TemplateControl.Gets or sets a Boolean value indicating whether themes apply to the control that is derived from the TemplateControl class.

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

Valor da propriedade

Boolean

true para usar temas; caso contrário, false.true to use themes; otherwise, false. O padrão é true.The default is true.

Atributos

Comentários

A EnableTheming propriedade indica se os temas estão habilitados para o controle que é derivado da TemplateControl classe.The EnableTheming property indicates whether themes are enabled for the control that is derived from the TemplateControl class. Quando a EnableTheming propriedade é true , o diretório de tema do aplicativo é pesquisado para que as capas de controle sejam aplicadas.When the EnableTheming property is true, the theme directory for the application is searched for control skins to apply. Se não houver nenhuma capa para o controle específico no diretório de tema, as capas não serão aplicadas.If no skin for the particular control exists in the theme directory, skins are not applied.

Aplica-se a

Confira também