ThemeProvider(IDesignerHost, String, String, String[], String) Oluşturucu

Tanım

ThemeProvider sınıfının yeni bir örneğini başlatır.

public:
 ThemeProvider(System::ComponentModel::Design::IDesignerHost ^ host, System::String ^ name, System::String ^ themeDefinition, cli::array <System::String ^> ^ cssFiles, System::String ^ themePath);
public ThemeProvider(System.ComponentModel.Design.IDesignerHost host, string name, string themeDefinition, string[] cssFiles, string themePath);
new System.Web.UI.ThemeProvider : System.ComponentModel.Design.IDesignerHost * string * string * string[] * string -> System.Web.UI.ThemeProvider
Public Sub New (host As IDesignerHost, name As String, themeDefinition As String, cssFiles As String(), themePath As String)

Parametreler

host
IDesignerHost

IDesignerHost Geçerli tasarımcı ortamını temsil eden bir.

name
String

Öğesinin temsil ettiği temanın veya stil sayfası temasının ThemeProvider adı. Bu parametre olabilir null.

themeDefinition
String

Yöntemine ParseTheme(IDesignerHost, String, String) geçirilen tema bilgileri. Bunlar temanın ham, birleştirilmiş içeriğidir.

cssFiles
String[]

Temsil ettiği temaya dahil edilen basamaklı stil sayfası (CSS) dosyalarının ThemeProvider adları.

themePath
String

Temayı içeren dosyanın mutlak yolu ve adlandırılmış temanın dış görünüm bilgilerini denetleme.

Açıklamalar

themeDefinition Oluşturucuya ThemeProvider(IDesignerHost, String, String, String[], String) geçirilen parametre, temayla ilişkili tüm denetim dış görünümlerinin birleştirmesini temsil eder, ancak bu parametre almak için a'ya ThemeProviderDesignTimeTemplateParser geçirildiğinden ControlBuilder ve başka bir şekilde kullanılmadığından doğrudan sınıf tarafından gösterilmez.

Şunlara uygulanır