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

Advance with Canvas Layout System.

$
0
0

Hi All,

Please take a look at the following links!.

https://onedrive.live.com/?id=B692C2CBAD70A05C%211751&cid=B692C2CBAD70A05C&group=0&parId=B692C2CBAD70A05C%21127&o=OneUp

https://onedrive.live.com/?id=B692C2CBAD70A05C%211752&cid=B692C2CBAD70A05C&group=0&parId=B692C2CBAD70A05C%21127&o=OneUp

I don't have any problem when expand and maintain its control proportion. The problem is that when shrink I can't shrink and maintain its proportion because the MinWidth and The Width Properties are conflict.

If I set the MinWidth to Minor value then I can't control the proportion. If I set the Width property to double.NaN, if the inner content is to short then I lose the proportion too.

As you know that if the MinWidth value is greater than the Width then the Width will never decrease.

Do you think am I on the right way to implement such thing like that by using the Canvas. I need some feature similar to the Grid control.

https://onedrive.live.com/?id=B692C2CBAD70A05C%211753&cid=B692C2CBAD70A05C&group=0

If you think that You can help then I will share the source and explain more.

Thanks,

Weera



Viewing all articles
Browse latest Browse all 18858

Trending Articles



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