Table of Contents

Interface IConstructProperty

Namespace
CADability.UserInterface
Assembly
CADability.dll

Interface for IShowProperty objects, which implement MouseButton modification.

public interface IConstructProperty

Methods

GetHotspotPosition()

Returns the position of the hotspot which represents the value in the drawing. For a point property this is the point itself, for a length, radius or angle it is the position the owner set with SetHotspotPosition(GeoPoint).

GeoPoint GetHotspotPosition()

Returns

GeoPoint

the hotspot position in world coordinates

SetFocus()

Selects the entry in its property page so that the value can be typed, e.g. after the user picked the hotspot of the value in the drawing.

void SetFocus()

SetHotspotPosition(GeoPoint)

Sets the position of the hotspot in the drawing which represents this value. Used by the owner of values that have no position of their own, like a length, a radius or an angle (e.g. the end of the major axis for the major radius of an ellipse).

void SetHotspotPosition(GeoPoint Here)

Parameters

Here GeoPoint

the hotspot position in world coordinates

StartModifyWithMouse()

Starts modifying the value with the mouse, as if the user had dragged its hotspot: the entry raises its ModifyWithMouse event (see ModifyWithMouseDelegate) and the owning action or object follows the mouse until the user clicks or types a value.

void StartModifyWithMouse()