Compartilhar via


XAML Namespace (x:) Language Features

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This section provides reference information for the XAML language features as implemented in Silverlight.

In This Section

  • x:Class Attribute
    Configures XAML compilation to join partial classes between markup and code-behind.

  • x:Key Attribute
    Uniquely identifies elements that are created and referenced as resources, and which exist within a ResourceDictionary.

  • x:Name Attribute
    Uniquely identifies object elements for access to the instantiated object from code-behind or general code.

  • x:Null Markup Extension
    Specifies null as a value for a property being set through a XAML attribute.