What is the Path.Data
value of this arrow:
Max Grid width and height are 18x18
MSDN's example default template for an Expander uses M 0 4 L 4 0 L 8 4 Z
Most path's start with the letter "M"
and an x,y coordinate, followed by line segments which are identified by a Character followed by space-delminited numbers for parameters, and end with the letter "Z"
. So M 0 4 L 4 0 L 8 4 Z
means
I often use the following site as a reference guide for this "geometry mini language": rcosic.wordpress.com/2009/08/11/wpf-geometry-mini-language
<Path x:Name="CollapsedArrow"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Data="M 0 0 L 4 4 L 8 0 Z">
<Path.Fill>
<SolidColorBrush Color="{DynamicResource GlyphColor}" />
</Path.Fill>
</Path>
<Path x:Name="ExpandededArrow"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Visibility="Collapsed"
Data="M 0 4 L 4 0 L 8 4 Z">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With