tag:blogger.com,1999:blog-3761674922653685009.post2502137087283672673..comments2023-11-05T03:40:13.874-08:00Comments on unfold: Auto-sizing Canvas for Silverlight and WPFJafar Husainhttp://www.blogger.com/profile/15444397760399385108noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-3761674922653685009.post-30010059591461919092010-07-25T09:32:45.223-07:002010-07-25T09:32:45.223-07:00This thing works, but only for right and bottom, c...This thing works, but only for right and bottom, can you modify this so that it works even when child goes in negative top or leftNitin Chaudharihttps://www.blogger.com/profile/16504480473162253388noreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-20874387251214505912009-09-11T21:34:05.708-07:002009-09-11T21:34:05.708-07:00MS-PL. Enjoy.MS-PL. Enjoy.Jafar Husainhttps://www.blogger.com/profile/15444397760399385108noreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-61579874843553784612009-09-09T01:30:07.328-07:002009-09-09T01:30:07.328-07:00Hi Jafar,
great code. The only thing missing (or...Hi Jafar, <br /><br />great code. The only thing missing (or which I missed) is the license under which it is released. Or is it public domain ?<br /><br />Thank you,<br />MarkusAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-46166829022660716022009-08-03T01:09:09.018-07:002009-08-03T01:09:09.018-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-76475829714534894822009-07-31T01:25:25.944-07:002009-07-31T01:25:25.944-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-54461676423986605602009-07-31T01:21:14.569-07:002009-07-31T01:21:14.569-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-39133625274667131872009-07-27T19:20:43.125-07:002009-07-27T19:20:43.125-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-10982454169495096862009-07-27T19:20:34.676-07:002009-07-27T19:20:34.676-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-75911007029019271962009-07-23T01:18:28.169-07:002009-07-23T01:18:28.169-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-21329414251243441852009-07-21T05:00:23.941-07:002009-07-21T05:00:23.941-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-69933729695308486152009-07-06T03:00:55.481-07:002009-07-06T03:00:55.481-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-44088954380234731942009-06-27T03:06:03.890-07:002009-06-27T03:06:03.890-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-62426174537269880382009-06-10T19:04:34.750-07:002009-06-10T19:04:34.750-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-27616536155182869202009-06-10T19:04:26.008-07:002009-06-10T19:04:26.008-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-55820618981761869482009-06-09T08:03:56.050-07:002009-06-09T08:03:56.050-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-5875140291693058572009-05-21T00:18:39.094-07:002009-05-21T00:18:39.094-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-81859185385135193232009-05-13T01:32:00.000-07:002009-05-13T01:32:00.000-07:00This comment has been removed by a blog administrator.Affordable Luxurious Wedding Dress Bloghttps://www.blogger.com/profile/05027988606340777687noreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-17081208712720575492009-04-28T14:03:00.000-07:002009-04-28T14:03:00.000-07:00Hello,
Actually I could also not see any scrolli...Hello,<br /><br /><br />Actually I could also not see any scrolling using you sample under WPF. How can I test it.<br /><br />Kindly Regards,<br /><br />IgorIgor Kondrasovashttps://www.blogger.com/profile/04614742239167511032noreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-27264370657248754762009-03-30T14:28:00.000-07:002009-03-30T14:28:00.000-07:00Great Control!Very Usefull!Great Control!<BR/>Very Usefull!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-78059798368708294642009-01-02T16:25:00.000-08:002009-01-02T16:25:00.000-08:00I can't get this to work in WPF. It doesn't seem ...I can't get this to work in WPF. It doesn't seem to resize to the content when the SizeWidthToContent and SizeHeightToContent are set to true.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-263135588481089162008-12-22T09:10:00.000-08:002008-12-22T09:10:00.000-08:00I don't get it. Is DynamicCanvas supposed to fit i...I don't get it. Is DynamicCanvas supposed to fit itself to the content drawn inside of it? Under WPF, DynamicCanvas seems to behave the SAME as Canvas. Even your example results image isn't sizing the canvas to fit the rectangle (or scaling up the rectangle to fit the canvas). What am I missing?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-87452888880548496602008-11-17T11:10:00.000-08:002008-11-17T11:10:00.000-08:00I have to say I'd love to see this type of auto-si...I have to say I'd love to see this type of auto-sizing canvas make its way into the Silverlight toolkit as you hinted. Great work!David Shttps://www.blogger.com/profile/09532568747482792996noreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-22656949808265380882008-11-13T18:34:00.000-08:002008-11-13T18:34:00.000-08:00You're forgiven for the lack of a project(lol).Abs...You're forgiven for the lack of a project(lol).<BR/><BR/>Absolute positioning was never a problem in HTML, simply because I could wrap it so that it fit into a container that always adjusted.<BR/><BR/>I haven't seen a way to make a UIElement positioned relative to a containing object in SilverLight(preferably a Grid).<BR/><BR/>That would be nice. Anyway, I still think your concept for this Canvas is BEAUTIFUL. Good work!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-57657196260448261392008-11-13T09:56:00.000-08:002008-11-13T09:56:00.000-08:00I can't comment for other MS employees but general...I can't comment for other MS employees but generally I try and avoid GUI's fixed at pixel location. They don't scale to different screen sizes very well. You don't want to tell Silverlight how to position elements by pixel for the same reason you don't want to tell your programming language program exactly how to filter a list with a predicate: it's too specific and therefore inflexible.<BR/><BR/>Obviously if you find yourself in a position where you need to fix your UI...then fix it. Just make sure that you can't reproduce the same result with the layout containers in Silverlight/WPF.<BR/><BR/>As for your constructive criticism about the lack of a solution to download...I have no excuse. I'm in the process of acquiring webspace at which point this will be rectified. In the meantime I hope that those who really need this component wont begrudge me the Ctrl+C-ing.Jafar Husainhttps://www.blogger.com/profile/15444397760399385108noreply@blogger.comtag:blogger.com,1999:blog-3761674922653685009.post-44679906441315529742008-11-13T02:13:00.000-08:002008-11-13T02:13:00.000-08:00You said,It's important to remember that you shoul...You said,<BR/><I>It's important to remember that you shouldn't use DynamicCanvas (or Canvas) to do layout.</I><BR/><BR/>Why not? If you want your design fixed, Canvas is a good choice. It's not as flexible as the other panels, but that doesn't mean it's inferior.<BR/><BR/>The disdain shown for the Canvas is a bit odd to me, but it seems to be common with a lot of MS employees in the US.<BR/><BR/>BTW, why don't you have a solution to download with the sample. Copying code is so 80's.Anonymousnoreply@blogger.com