Gets or sets the cell size of the selected element, so that resizing is limited to multiples of the cell size.
Public Property CellSize As Size
public Size CellSize {get; set;}
Property Value
The default value is NaN x NaN.
A value of NaN means that
ComputeCellSize
will look at its
AdornedNode's
Northwoods.GoXam.Part.ResizeCellSize.
Failing to find a positive number, it will look for a node underneath it
that is
Northwoods.GoXam.Part.DragOverSnapEnabled to use its
Northwoods.GoXam.Part.DragOverSnapCellSize,
or for the diagram if it is
Northwoods.GoXam.Diagram.GridSnapEnabled
to use its
Northwoods.GoXam.Diagram.GridSnapCellSize.
The width and height must not be negative or infinity.