WPF: How to autosize Path to its container?
Posted
by 742
on Stack Overflow
See other posts from Stack Overflow
or by 742
Published on 2010-05-05T08:54:39Z
Indexed on
2010/05/05
8:58 UTC
Read the original article
Hit count: 1152
I have a Path that must resize to its StackPanel container.
<StackPanel x:Name="TrackSurface">
<Path Fill="AliceBlue"
Stroke="Black" StrokeThickness="1"
Data="{StaticResource TranslateZ}">
</Path>
</StackPanel>
I think about using a transformation bound to the container but don't know how to it actually. Can someone give me hint?
© Stack Overflow or respective owner