XAML Inline Syntax versus Property Element Syntax.

For simple xaml elements “inline” syntax where the property is an XML attribute is preferable:

        <StaticResource ResourceKey="PathVisualTemplate"/>

For more complex elements, “Property Element Syntax” is preferable.

However, Property Element Syntax can also be used in the simple case too:

though this is less pretty than the inline form.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: