XAML: What is the functional difference between the following notations?
Is there any reason I shouldn't use the first method for properties?
<Setter Property="Shape.Stroke" TargetName="circle" Value="#FF3C7FB1"/>
<Setter Property="Shape.Stroke" TargetName="arrow">
<Setter.Value>
<SolidColorBrush>#FF222222</SolidColorBrush>
</Setter.Value>
</Setter>
So I remember to add tags after reputation is high enough:
Tag: Expanded
EDIT 0: I am using the default templates to create custom controls and noticed the latter layout is how Microsoft does it. Is this to expedite parsing or simply by convention?
EDIT 1: I gather that the converters are brought into service when using the former notation, so I guess my question becomes: Is it a performance concern and, if so, are there any benchmarks?