A 3-Part, 3-Day Weekend XAML Quiz
<FlowPanel xmlns=“http://schemas.microsoft.com/2003/xaml”
xmlns:def=“Definition” Text.FontSize=“24″>
<Text>This seems clear enough.</Text>
<Text>
<Text.ImageEffect>
<ImageEffectBlur Radius=“3”/>
</Text.ImageEffect>
This is considerably less clear.
</Text>
</FlowPanel>
I’ve rewritten it using a more compact syntax:
<Text ImageEffect=“*ImageEffectBlur(Radius=3)“>
This is considerably less clear.
</Text>
- For 1 free UUID, is this legal XAML? Why or why not?
- For 2 free UUIDs, what other popular XAML construct uses the exact same syntax?
- For 3 free UUIDs, what popular C# construct has a similar syntax? How is it subtly different? (Hint: I’m not showing the difference in this example.)