{"id":4914,"date":"2014-03-30T16:55:38","date_gmt":"2014-03-30T16:55:38","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/which-has-better-rendering-performance-stackpanel-or-canvastranslatetransform-wpf-silverlight-collection-of-common-programming-errors\/"},"modified":"2014-03-30T16:55:38","modified_gmt":"2014-03-30T16:55:38","slug":"which-has-better-rendering-performance-stackpanel-or-canvastranslatetransform-wpf-silverlight-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/which-has-better-rendering-performance-stackpanel-or-canvastranslatetransform-wpf-silverlight-collection-of-common-programming-errors\/","title":{"rendered":"Which has better rendering performance, Stackpanel or Canvas+TranslateTransform? WPF\/Silverlight-Collection of common programming errors"},"content":{"rendered":"<p>I always use a Canvas when I&#8217;m laying out my visuals usually because I will need adjust the RenderTransform.TranslateTransform to animate in some way. A colleague recently told me that unless I explicitly need to animate I should always use the A Stackpanel because it is faster than a RenderTransform.TranslateTransform when laying out objects to the visual.<\/p>\n<p>Is this true?<\/p>\n<p>Anyone have any data either way?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I always use a Canvas when I&#8217;m laying out my visuals usually because I will need adjust the RenderTransform.TranslateTransform to animate in some way. A colleague recently told me that unless I explicitly need to animate I should always use the A Stackpanel because it is faster than a RenderTransform.TranslateTransform when laying out objects to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4914","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4914"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4914\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}