Northwoods.GoSilverlight 1.2.2 Assembly
CellSize Property
See Also  Send Feedback
Northwoods.GoXam.Layout Namespace > GridLayout Class : CellSize Property

Gets or sets the minimum node size by which each node is positioned in the grid.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("Northwoods.GoXam.Route+SizeConverter, Northwoods.GoSilverlight, Version=1.2.2.4, Culture=neutral, PublicKeyToken=616e2dc80068a33d")>
Public Property CellSize As Size
C# 
[TypeConverterAttribute("Northwoods.GoXam.Route+SizeConverter, Northwoods.GoSilverlight, Version=1.2.2.4, Culture=neutral, PublicKeyToken=616e2dc80068a33d")]
public Size CellSize {get; set;}

Property Value

The default value is NaN x NaN. The units are in model coordinates. When the width is Double.NaN, the ActualCellSize uses the maximum of all node widths plus the Spacing width. When the height is Double.NaN, the ActualCellSize uses the maximum of all node heights, plus the Spacing height.

Remarks

When the cell size is smaller than a node, the node will occupy more than one cell. This allows nodes to be positioned closer to each other, but then variations in node sizes may cause them not to be aligned in perfect rows or columns.

Requirements

See Also

© 2010 All Rights Reserved.