Repeater.EnableTheming 属性

定义

获取或设置一个值,该值指示主题是否应用于此控件。Gets or sets a value indicating whether themes are applied to this control.

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

属性值

如果使用主题,则为 true;否则为 falsetrue to use themes; otherwise, false. 默认为 falseThe default is false.

属性

注解

EnableTheming 属性指示是否启用主题。The EnableTheming property indicates whether themes are enabled. trueEnableTheming 属性时,将在应用程序的主题目录中搜索要应用的控件外观。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.

适用于

另请参阅