I

IPortGridConstraintProvider

Specifies how coordinates of an IPort can snap to a grid.
Inheritance Hierarchy

Remarks

An implementation of this interface can be queried using the lookup of a IInputModeContext.

Members

No filters for this type

Properties

Gets the canonical origin of the grid.
readonlyabstract
Gets the canonical grid width in horizontal direction.
readonlyabstract
Gets the canonical grid width in vertical direction.
readonlyabstract

Static Methods

Creates an implementation of the interface IPortGridConstraintProvider from the given definition.
The given object must contain exactly the abstract members of the IPortGridConstraintProvider interface. No member may be omitted and no additional members can be added. While additional custom members can later be added directly on the instance, this is discouraged.
static

Parameters

Return Value

IPortGridConstraintProvider
An instance of the IPortGridConstraintProvider interface based on the given definition.