Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XamlLanguage Class

Defines constants that provide strings or objects that are useful for XAML markup or for programming with XAML types. These strings or objects are relevant to XAML language concepts, to the implementation of XAML language concepts in .NET Framework XAML Services, or to both.

System.Object
  System.Xaml.XamlLanguage

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)
public static class XamlLanguage

The XamlLanguage type exposes the following members.

  NameDescription
Public propertyStatic memberAllDirectivesGets a read-only generic collection of each XamlDirective identifier that is defined by .NET Framework XAML Services.
Public propertyStatic memberAllTypesGets a read-only generic collection of individual XamlType values that match, or alias, a XAML language intrinsic that is defined by .NET Framework XAML Services.
Public propertyStatic memberArgumentsGets a XamlDirective for the Arguments of a factory method or a generic usage.
Public propertyStatic memberArrayGets a XamlType for the Array XAML language intrinsic.
Public propertyStatic memberAsyncRecordsGets a XamlDirective for the AsyncRecords pseudomember.
Public propertyStatic memberBaseGets a XamlDirective for the base directive from XML.
Public propertyStatic memberBooleanGets a XamlType for the Boolean XAML language intrinsic.
Public propertyStatic memberByteGets a XamlType for the Byte XAML language intrinsic.
Public propertyStatic memberCharGets a XamlType for the Char XAML language intrinsic.
Public propertyStatic memberClassGets a XamlDirective for the Class directive from XAML.
Public propertyStatic memberClassAttributesGets a XamlDirective for the ClassAttributes directive from XAML.
Public propertyStatic memberClassModifierGets a XamlDirective for the ClassModifier directive from XAML.
Public propertyStatic memberCodeGets a XamlDirective for Code as detailed in [MS-XAML].
Public propertyStatic memberConnectionIdGets a XamlDirective that identifies a connection point for wiring events to handlers.
Public propertyStatic memberDecimalGets a XamlType for the Decimal XAML language intrinsic.
Public propertyStatic memberDoubleGets a XamlType for the Double XAML language intrinsic.
Public propertyStatic memberFactoryMethodGets a XamlDirective that identifies a factory method for XAML.
Public propertyStatic memberFieldModifierGets a XamlDirective for the FieldModifier directive from XAML.
Public propertyStatic memberInitializationGets a XamlDirective for the Initialization directive from XAML.
Public propertyStatic memberInt16Gets a XamlType for the Int16 XAML language intrinsic.
Public propertyStatic memberInt32Gets a XamlType for the Int32 XAML language intrinsic.
Public propertyStatic memberInt64Gets a XamlType for the Int64 XAML language intrinsic.
Public propertyStatic memberItemsGets a XamlDirective for the Items directive from XAML.
Public propertyStatic memberKeyGets a XamlDirective for the Key directive from XAML.
Public propertyStatic memberLangGets a XamlDirective for the lang directive from XML.
Public propertyStatic memberMemberGets a XamlType for the type that is the item type of Members.
Public propertyStatic memberMembersGets a XamlDirective for the Members concept in XAML.
Public propertyStatic memberNameGets a XamlDirective for the Name directive from XAML.
Public propertyStatic memberNullGets a XamlType for the Null or NullExtension XAML language intrinsic.
Public propertyStatic memberObjectGets a XamlType for the Object XAML language concept.
Public propertyStatic memberPositionalParametersGets a XamlDirective for the PositionalParameters directive from XAML.
Public propertyStatic memberPropertyGets a XamlType for the Property concept in XAML.
Public propertyStatic memberReferenceGets a XamlType that represents a Reference for XAML.
Public propertyStatic memberSharedGets a XamlDirective for the Shared directive for XAML.
Public propertyStatic memberSingleGets a XamlType for the Single XAML language intrinsic.
Public propertyStatic memberSpaceGets a XamlDirective for the space directive from XML.
Public propertyStatic memberStaticGets a XamlType for the Static/StaticExtension XAML language intrinsic.
Public propertyStatic memberStringGets a XamlType for the String XAML language intrinsic.
Public propertyStatic memberSubclassGets a XamlDirective for the Subclass directive from XAML.
Public propertyStatic memberSynchronousModeGets a XamlDirective that enables loading XAML asynchronously if the XAML processor supports such a mode.
Public propertyStatic memberTimeSpanGets a XamlType for the TimeSpan concept in XAML language.
Public propertyStatic memberTypeGets a XamlType for the Type/TypeExtension XAML language intrinsic.
Public propertyStatic memberTypeArgumentsGets a XamlDirective for the TypeArguments directive from XAML.
Public propertyStatic memberUidGets a XamlDirective for the Uid directive from XAML.
Public propertyStatic memberUnknownContentGets a XamlDirective for the UnknownContent directive from XAML.
Public propertyStatic memberUriGets a XamlType for the Uri XAML language concept.
Public propertyStatic memberXamlNamespacesGets a collection of the namespace identifiers for XAML.
Public propertyStatic memberXDataGets a XamlType for the XAML type that backs an XData block in XAML.
Public propertyStatic memberXmlNamespacesGets a collection of the namespace identifiers for XML.
Top
  NameDescription
Public fieldStatic memberXaml2006NamespaceGets a string value for the string that identifies the XAML (2006) language namespace. That namespace corresponds to the XAML (2006) "x" prefixed namespace as defined in [MS-XAML] Section 5.1.1.
Public fieldStatic memberXml1998NamespaceGets a string value for the string that identifies the XML (1998) language namespace. That namespace corresponds to the XML "xml" prefixed namespace as referenced in [MS-XAML] Section 5.1.2.
Top

The XamlLanguage API returns lookup results that are based on a XAML schema context that remains internal. In this schema context, SupportMarkupExtensionsWithDuplicateArity is true. Otherwise, the XAML schema context that is reported as the default for .NET Framework XAML Services and its defined XAML readers and XAML writers uses default settings. Overall, the XAML schema context that is used for predefined XAML readers and XAML writers is based on the same XamlSchemaContext instance that is available from APIs that set or return a XamlSchemaContext. The default XAML schema context for .NET Framework XAML Services is based on CLR concepts and reflection. Evidence of the default CLR backing can be found when obtaining certain XamlLanguage properties that are a XamlType and when checking UnderlyingType. Similarly, XamlLanguage properties that are a XamlMember have CLR reflection-based values for UnderlyingMember.

.NET Framework

Supported in: 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.