Class MultiGeoPointProperty
A IShowProperty implementation that displays a list of GeoPoints. The communication with the object that owns that list is performed via a IIndexedGeoPoint interface, which must be provided in the constructor. This show property lets the user add and remove GeoPoints to or from the list or modify existing GeoPoints in the list.
Inherited Members
Namespace: CADability.UserInterface
Assembly: CADability.dll
Syntax
public class MultiGeoPointProperty : PropertyEntryImpl, IPropertyEntry, IShowProperty
Constructors
| Improve this Doc View SourceMultiGeoPointProperty(IIndexedGeoPoint, String, IFrame)
Creates a MultiGeoPointProperty. The parameter "controlledObject" provides the owner of the list.
Declaration
public MultiGeoPointProperty(IIndexedGeoPoint controlledObject, string resourceId, IFrame frame)
Parameters
| Type | Name | Description |
|---|---|---|
| IIndexedGeoPoint | controlledObject | owner of the list |
| System.String | resourceId | the resource id to specify a string from the StringTable. ResourceId+".Label": the Label left of the edit box. ResourceId+".ShortInfo": a short tooltip text ResourceId+"DetailedInfo": a longer tooltip text. |
| IFrame | frame |
Fields
| Improve this Doc View SourceGetInsertionPointEvent
When a point is about to be inserted this property needs some initial value. The default initial value is the same point as the first/last point, when inserted before the first or after the last point, and the middle point of the intervall where the point is to be inserted. If you wisch another behaviour add a handler to this event and return the appropriate point.
Declaration
public MultiGeoPointProperty.GetInsertionPointDelegate GetInsertionPointEvent
Field Value
| Type | Description |
|---|---|
| MultiGeoPointProperty.GetInsertionPointDelegate |
Properties
| Improve this Doc View SourceDisplayZComponent
Declaration
public bool DisplayZComponent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Flags
Declaration
public override PropertyEntryType Flags { get; }
Property Value
| Type | Description |
|---|---|
| PropertyEntryType |
Overrides
| Improve this Doc View SourcePrependContextMenue
Declaration
public MenuWithHandler[] PrependContextMenue { get; set; }
Property Value
| Type | Description |
|---|---|
| MenuWithHandler[] |
SubItems
Declaration
public override IPropertyEntry[] SubItems { get; }
Property Value
| Type | Description |
|---|---|
| IPropertyEntry[] |
Overrides
Methods
| Improve this Doc View SourceAdded(IPropertyPage)
Declaration
public override void Added(IPropertyPage propertyTreeView)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyPage | propertyTreeView |
Overrides
| Improve this Doc View SourceAppend(GeoPoint)
Appends a point to the list of points
Declaration
public void Append(GeoPoint initialValue)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoPoint | initialValue | initial value of the new point |
Refresh()
Declaration
public override void Refresh()
Overrides
| Improve this Doc View SourceRefresh(Int32)
Refreshes the display of the point with the given index.
Declaration
public void Refresh(int Index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Index | index of point to refresh |
SetFocusToIndex(Int32)
Declaration
public void SetFocusToIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
ShowOpen(Boolean)
Opens the subentries in the treeview.
Declaration
public void ShowOpen(bool open)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | open | true: open, false: close |
Events
| Improve this Doc View SourceGeoPointSelectionChangedEvent
Provide a method here if you need to be notified about when the selection of the points in the subtree changed
Declaration
public event GeoPointProperty.SelectionChangedDelegate GeoPointSelectionChangedEvent
Event Type
| Type | Description |
|---|---|
| GeoPointProperty.SelectionChangedDelegate |
ModifyWithMouseEvent
Provide a method here if you need to notified about modification of any point in this list with the mouse
Declaration
public event MultiGeoPointProperty.ModifyWithMouseIndexDelegate ModifyWithMouseEvent
Event Type
| Type | Description |
|---|---|
| MultiGeoPointProperty.ModifyWithMouseIndexDelegate |