Blend: Canvas mode vs Grid mode

I stand corrected, the "locks" are still there. Following yesterday's post, I got a comment indicating me the cause of the confusion: Somehow, when I installed the September CTP of Blend 2, my settings were changed (probably by my own doing, in fact), and I unchecked the "Use grid layout mode" checkbox in the "Artboard / Layout" section of the options. This causes the grids to be displayed as a kind of canvas, on which the controls can be positioned in an absolute manner, instead of "fixing" them in a column/row position. Actually, what Blend does is calculate the column, row, columnspan, rowspan and margins to create the positioning which the designer wants to achieve.

I never used the grid's canvas mode, because I don't like it. If I want a canvas, I just use a Canvas. Of course, Canvas has other disadvantages, so in fact I don't really use Canvas anymore either... I love Grids, however, especially the way you can set some of the columns to "Auto" or use the "star-sizing" syntax to specify, for example, that a column should use 33% of the remaining space (that would be Width="0.33*").

It is also possible to toggle between Grid layout mode and Canvas layout mode by clicking the small icon on the left-top of the grid (see below). Somehow I overlooked this, and I must thank Christian again for this helpful comment!

Canvas layout mode
Grid layout mode
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Print | posted on Saturday, September 22, 2007 3:37 AM

Feedback

# re: Blend: Canvas mode vs Grid mode

left by luna at 2/3/2008 7:25 PM Gravatar
what is the difference between canvas and grid in blend?
sorry but im new to the idea of using blend so if u can show examples, that wud be best

# re: Blend: Canvas mode vs Grid mode

left by Laurent at 2/4/2008 6:36 AM Gravatar
Hi,

Please check the Blend Help for basic questions. Check the topic "Grid panel"

Thanks,
Laurent

# re: Blend: Canvas mode vs Grid mode

left by sharath at 7/9/2010 7:57 PM Gravatar
Difference between canvas and grid is :

1) canvas has more performance than grid

2) In Grid we have column defination and row defination, where as canvas dont have

3) Grid has locks , Canvas has no Locks

# re: Blend: Canvas mode vs Grid mode

left by Anthony Solyntes at 11/18/2010 10:41 PM Gravatar
I am trying to make two 10X10 gridboxes side by side for a two player battleship game. I am trying to use canvas, but I an stuck. How do i make those 100 cells in each gridbox? They need to have specific name positions so that I can bind them on the backend to the code I have written in C#.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: