Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

can a WPF view and all controls/content/text be dynamically resized by user interaction like a Java form?

$
0
0

Here is a basic winform

could someone show me some sample xaml code to recreate this form as a WPF view but make it so that I can dynamically rezise the label and text when I stretch the form or shrink it?  I am thinking the label would be docked at the left upper corner but the right side/right lower corner of the label would move along with the movement of the edge and corner of the WPF view.  But I also want the text to resize.  Is this possible with xaml?  What would the xaml code look like?

Thanks in advance for any replies.


Rich P





Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>