Northwoods.GoWPF 2.1.1 Assembly
CellSize Property (ResizingTool)

Gets or sets the cell size of the selected element, so that resizing is limited to multiples of the cell size.
Syntax
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.
Requirements
See Also

Reference

ResizingTool Class
ResizingTool Members

 

 


© Northwoods Software 2013. All Rights Reserved.

Send Feedback