September 2012
Intermediate to advanced
464 pages
10h 55m
English
XAML provides an easy way to set values of properties—type converters and the extended property syntax allow for flexible setting of values. However, some things cannot be expressed as a simple value, such as setting a property to the value of some static property.
Make sure Visual Studio is up and running.
We'll create an application that uses a static property from within XAML:
CH01.StaticProperties.MainWindow.xaml. Replace the Grid element with a StackPanel. <StackPanel>
<Ellipse Stroke="Black" Height="50" />
<Rectangle Stroke="Black" Height="50" />
</StackPanel>