IxDA - Comments for "Advice on Grid for Visual Studio Developers?"http://ixda.org/node/20073
Comments for "Advice on Grid for Visual Studio Developers?"enAdvice on Grid for Visual Studio Developers?http://ixda.org/node/20073#comment-65782
<p>On Wed, Jun 10, 2009 at 3:09 PM, j.scot &lt;<A href="http://lists.interactiondesigners.com/listinfo.cgi/discuss-interactiondesigners.com">scot at nicetempo.com</a>&gt; wrote:</p>
<p>&gt;<i> Is anyone aware of a developer's reference on defining a layout grid<br />
</i>&gt;<i> (or the atomic unit thereof) in Visual Studio?<br />
</i></p>
<p>Full disclosure: I work for Infragistics.</p>
<p>But I'm not recommending this because of that fact. It's just we have<br />
something that can help with this:<br />
<A href="http://www.infragistics.com/dotnet/netadvantage/winforms/wingridbaglayoutpanel.aspx">http://www.infragistics.com/dotnet/netadvantage/winforms/wingridbaglayoutpanel.aspx</a></p>
<p>WPF has a built in Grid layout element that I suspect you could use to<br />
create a consistent grid layout in that technology.</p>
<p>Also, FWIW, we cover the Grid Layout pattern<br />
(Rich&lt;<A href="http://quince.infragistics.com/#/Main/ViewPattern$pattern=Grid+Layout">http://quince.infragistics.com/#/Main/ViewPattern$pattern=Grid+Layout</a>&gt;<br />
/HTML &lt;<A href="http://quince.infragistics.com/Patterns/Grid%20Layout.html">http://quince.infragistics.com/Patterns/Grid%20Layout.html</a>&gt;) in our<br />
UX patterns explorer, Quince.</p>
<p>HTH.</p>
<p>-ambrose</p>
Thu, 11 Jun 2009 13:54:06 +0000ambroselittlecomment 65782 at http://ixda.orgAdvice on Grid for Visual Studio Developers?http://ixda.org/node/20073#comment-65778
<p>Hello Scott,</p>
<p>Maybe you can use the flow layout options for the form designing? In V<br />
isual Studio in .NET applications the form designer own task is a two-<br />
way conversion. If you add components in the form designer code will<br />
be generated and added to the source file, and the other way around it<br />
will be shown in the form designer. If you are interested in some grid-<br />
based layour you could consider writing a few layout management<br />
controls. Check the descriptions below to find out what might fit the<br />
best:</p>
<p>*BorderLayout*<br />
Allows 5 different Layoutable objects, one in each of the north,<br />
south, east and west and one in the center. All the size components<br />
are compressed in size, north and south are as small as they can be<br />
vertically and as large as they can be horizontally. West and east are<br />
as small as they can be horizontally and as large as they can be<br />
vertically. The center Layoutable object fills all of the space that<br />
remains.</p>
<p>*GridLayout*<br />
Takes a number of rows and columns and creates a grid to which the<br />
user can add Controls. Each member in the grid is made the same size<br />
and laid out from left to right down the rows in the order that they<br />
are added.</p>
<p>*FlowLayout*<br />
Tries to add Controls in a horizontal line, once the line is too big<br />
for the width of the container, it starts a new line. It can be<br />
aligned to the left, center, or right of the container.<br />
Using these classes in GUI creation is straightforward. When you<br />
create a Control which will contain other controls, you wrap it in a<br />
ContainerBox, set the box's layout, and then add all of the child<br />
Controls to the box. The only containing Control which is not added to<br />
a ContainerBox is the top level Control (usually a Form) which is<br />
wrapped in either an AreaPane or a ResizeablePane. A ResizeablePane<br />
will take the shape of its parent Control, but an AreaPane will be the<br />
area which is specified.</p>
<p>(from: <A href="http://www.csharphelp.com/archives/archive7.html">http://www.csharphelp.com/archives/archive7.html</a>)</p>
<p>Maybe this will help your developers out to improve or great their own<br />
layout manager for their applications based on the code offered at the<br />
url above.</p>
<p>Yours,</p>
<p>Weyert de Boer</p>
Thu, 11 Jun 2009 09:26:38 +0000Anonymouscomment 65778 at http://ixda.orgAdvice on Grid for Visual Studio Developers?http://ixda.org/node/20073#comment-65770
<p>I'm not sure what type of desktop app you're going to create. There's a Grid in WPF which you can use as a layout panel.</p>
Thu, 11 Jun 2009 09:07:18 +0000Faisalcomment 65770 at http://ixda.org