Example of Property Elements in Xaml

The Syntax for the property element in Xaml is as follows below

TypeName.PropertyName

The property elements are always contained inside a typename object and they don’t have the attributes of their own.

An example of the property element is the Button.Content property which is used to set the content of the button control which is of type object.

<Button>
    <Button.Content>
        Click Abundantcode 
    </Button.Content>
</Button>

The Below code is used to set the text of the Button to Click Abundantcode in Xaml where Button.Content is a property element.