The Windows Phone Application Lifecycle. XAML Overview. You can set properties on objects that you declared by using object element syntax.
There are multiple ways to set properties in XAML: By using attribute syntax. By using property element syntax. By using content element syntax. By using a collection syntax (which is usually the implicit collection syntax). As with object declaration, this list of techniques for setting properties of objects in XAML does not imply that a given property could be set with any of the techniques. Setting a Property by Using Attribute Syntax Use the following syntax, where objectName is the object you want to instantiate, propertyName is the name of the property that you want to set on that object, and propertyValue is the value to set. -or- ... <! Either syntax enables you to declare an object and set a property on that object. If you had a direct view of how the XAML parser interprets this markup and defines the object tree, the equivalent code might resemble the following pseudocode: <TextBlock>Hello!
<! User Experience Design Guidelines for Windows Phone. Multitasking for Windows Phone. Execution Model for Windows Phone. Execution Model Overview for Windows Phone. Technical Certification Requirements.