Class XamlXmlReaderSettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Xaml
Assembly: OpenSilver.Xaml.dll
Syntax
public class XamlXmlReaderSettings : XamlReaderSettings
Constructors
| Improve this Doc View SourceXamlXmlReaderSettings()
Declaration
public XamlXmlReaderSettings()
XamlXmlReaderSettings(XamlXmlReaderSettings)
Declaration
public XamlXmlReaderSettings(XamlXmlReaderSettings settings)
Parameters
Type | Name | Description |
---|---|---|
XamlXmlReaderSettings | settings |
Properties
| Improve this Doc View SourceCloseInput
Declaration
public bool CloseInput { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultNamespaces
Declaration
public IEnumerable<KeyValuePair<string, string>> DefaultNamespaces { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
SkipXmlCompatibilityProcessing
Declaration
public bool SkipXmlCompatibilityProcessing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
XmlLang
Declaration
public string XmlLang { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XmlSpacePreserve
Declaration
public bool XmlSpacePreserve { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceAddNamespace(String, String)
Adds a default namespace to read the xaml as a fragment.
Declaration
public void AddNamespace(string prefix, string xmlNamespace)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | Prefix of namespace, or null for the default namespace |
System.String | xmlNamespace | Uri or clr-namespace to set as default |
AddNamespaces(Assembly)
Adds all namespace prefixes defined in the assembly as default using XmlnsPrefixAttribute
Declaration
public void AddNamespaces(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly | Assembly to lookup default prefixes for |
AddNamespaces(Type)
Adds all namespace prefixes defined in the assembly of the specified type as default using XmlnsPrefixAttribute
Declaration
public void AddNamespaces(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Type of the assembly to lookup default prefixes for |