Aracılığıyla paylaş


HandlerElement.XamlRootElementType Özellik

Alır veya yapılandırma dosyasında kök xaml öğesi türü adını ayarlar.

Ad alanı:  System.Xaml.Hosting.Configuration
Derleme:  System.Xaml.Hosting (System.Xaml.Hosting.dll içinde)

Sözdizimi

'Bildirim
<StringValidatorAttribute(MinLength := )> _
<ConfigurationPropertyAttribute("xamlRootElementType", DefaultValue := "", Options := ConfigurationPropertyOptions.None Or ConfigurationPropertyOptions.IsRequired Or ConfigurationPropertyOptions.IsKey)> _
Public Property XamlRootElementType As String
[StringValidatorAttribute(MinLength = )]
[ConfigurationPropertyAttribute("xamlRootElementType", DefaultValue = "", Options = ConfigurationPropertyOptions.None|ConfigurationPropertyOptions.IsRequired|ConfigurationPropertyOptions.IsKey)]
public string XamlRootElementType { get; set; }
[StringValidatorAttribute(MinLength = )]
[ConfigurationPropertyAttribute(L"xamlRootElementType", DefaultValue = L"", Options = ConfigurationPropertyOptions::None|ConfigurationPropertyOptions::IsRequired|ConfigurationPropertyOptions::IsKey)]
public:
property String^ XamlRootElementType {
    String^ get ();
    void set (String^ value);
}
[<StringValidatorAttribute(MinLength = )>]
[<ConfigurationPropertyAttribute("xamlRootElementType", DefaultValue = "", Options = ConfigurationPropertyOptions.None|ConfigurationPropertyOptions.IsRequired|ConfigurationPropertyOptions.IsKey)>]
member XamlRootElementType : string with get, set

Özellik Değeri

Tür: System.String
String .

Sürüm Bilgileri

.NET Framework

Destekleyen: 4.5, 4

.NET Framework Güvenliği

Platformlar

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Sunucu Çekirdeği Rolü desteklenmez), Windows Server 2008 R2 (Sunucu Çekirdeği Rolü, SP1 veya sonraki sürümlerle desteklenir; Itanium'da desteklenmez)

.NET Framework her platformun tüm sürümlerini desteklemez. Desteklenen sürümlerin listesi için bkz. 298275e2-da1d-4618-9f74-6a3567832350.

Ayrıca bkz.

Başvuru

HandlerElement Sınıf

System.Xaml.Hosting.Configuration Ad Alanı