HandlerElement.XamlRootElementType Property

Gets or sets the type name of the root XAML element in a configuration file.

Namespace:  System.Xaml.Hosting.Configuration
Assembly:  System.Xaml.Hosting (in System.Xaml.Hosting.dll)

Syntax

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

Property Value

Type: System.String
String .

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4

See Also

Reference

HandlerElement Class

System.Xaml.Hosting.Configuration Namespace