CADability dotNET

The GeoPointProperty type exposes the following members.

Constructors

  NameDescription
Public methodGeoPointProperty(String, IFrame, Boolean)
Constructs a GeoPointProperty object which communicates with the events SetGeoPointEvent and GetGeoPointEvent with the owner of the GeoPoint, which is represented here. You must provide event handlers for these two events.
Public methodGeoPointProperty(Object, String, String, IFrame, Boolean)
Constructs a ne GeoPointProperty which communicates with the owner of the GeoPoint via reflection (and not via events). The ObjectWithPoint and PropertyName specify an object and a property of that object to get and set the GeoPoint. PropertyName must be a public property and provide both get and set access. The name is case sensitive. There is no need to provide methods for the events SetGeoPointEvent and GetGeoPointEvent.

Methods

  NameDescription
Public methodAdded (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).)
Public methodFocusableControls
Overrides FocusableControls()()()() Returns the controls of this IShowProperty that can get the focus.
(Overrides IShowPropertyImpl..::..FocusableControls()()()().)
Public methodGetContextMenu
Overrides GetContextMenu()()()(), returns a context menu when ContextMenuId was set accordingly, default value is "MenuId.Point" (see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().)
Public methodGetGeoPoint
Usually you dont need this method. It gets the GeoPoint by raising the GetGeoPointEvent event or by calling the specified property via reflection.
Public methodGetValueControl
Overrides GetValueControl(Int32, Int32), returns the control on the right hand side of this ShowProperty which is a edit box in this case.
(Overrides IShowPropertyImpl..::..GetValueControl(Int32, Int32).)
Public methodLabelChanged
Overrides LabelChanged(String) raises the LabelChangedEvent.
(Overrides IShowPropertyImpl..::..LabelChanged(String).)
Public methodOnSpecialKey (Overrides IShowPropertyImpl..::..OnSpecialKey(IShowProperty, KeyEventArgs).)
Public methodRefresh
Refreshes the display of the GeoPoint. The GeoPointProperty tries to get the new value via reflection or event and displays the new value.
(Overrides IShowPropertyImpl..::..Refresh()()()().)
Public methodRemoved (Overrides IShowPropertyImpl..::..Removed(IPropertyTreeView).)
Public methodSelected
Overrides Selected()()()()
(Overrides IShowPropertyImpl..::..Selected()()()().)
Public methodSetFocus
Overrides SetFocus()()()() Sets the focus to the edit box.
(Overrides IShowPropertyImpl..::..SetFocus()()()().)
Public methodSetGeoPoint
Usually you dont need this method. It sets the GeoPoint by raising the SetGeoPointEvent event or by calling the specified property via reflection. The display is not refreshed. If the GeoPoint is changed by some other means than user input, call Refresh()()()() and provide the new value in the event handler of the property.
Public methodUnSelected (Overrides IShowPropertyImpl..::..UnSelected()()()().)

Fields

  NameDescription
Public fieldInputFromSubEntries
Public fieldLabelIsEditable
Gets or sets whether the label may be edited. When set to true you should provide a handler for the LabelChangedEvent, to be notified about when the user entered some other label text. Use the LabelText property to set the modified text.

Properties

  NameDescription
Public propertyContextMenuId
Gets or sets the id of the context menu, which is used for this GeoPointProperty. Overrides the default context menu id of "MenuId.Point"
Public propertyEntryType
Overrides EntryType, returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.)
Public propertyForceAbsolute
Usually the GeoPoint is presented in the local or absolute coordinate system, according to the global setting. With this property you can force the GeoPointProperty to always use the global coordinate system.
Public propertyHighlight
Public propertyLabelText
Gets or sets the text displayed in the label of this IShowProperty. The default label is set by the resourceId. Use this property if you set LabelIsEditable to true.
(Overrides IShowPropertyImpl..::..LabelText.)
Public propertyLabelType
Overrides LabelType
(Overrides IShowPropertyImpl..::..LabelType.)
Public propertyPrependContextMenu
Sets a additional conext menu which prepends the context menu of this GeoPointProperty. This context menu is merged into the existing context menu of this GeoPointProperty.
Public propertyReadOnly
Sets or gets the read only setting of this object. If ReadOnly is true, the user cannot modify the represented GeoPoint.
(Overrides IShowPropertyImpl..::..ReadOnly.)
Public propertySubEntries
Overrides SubEntries, returns the subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntries.)
Public propertySubEntriesCount
Overrides SubEntriesCount, returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntriesCount.)
Public propertyUserData
Implements UserData()()()(). Returns the userdata object of this GeoPointProperty.
Public propertyX
Only used internally, must be public because of reflection, do not use
Public propertyY
Only used internally, must be public because of reflection, do not use
Public propertyZ
Only used internally, must be public because of reflection, do not use

Events

  NameDescription
Public eventFilterCommandEvent
When a context menue is selected or about to popup this event is raised to allow a consumer to process the command instead of this GeoPointProperty object itself. Provide a handler here if you want to process some or all menu commands.
Public eventGetGeoPointEvent
This GeoPointProperty..::..GetGeoPointDelegate event will be raised when the display needs to know the current value of the represented GeoPoint. To force a Refresh of the displayed value call Refresh()()()().
Public eventLabelChangedEvent
A GeoPointProperty..::..LabelChangedDelegate event the notifies about a change of the label text. Will only be raised when LabelIsEditable is true.
Public eventModifiedByActionEvent
This GeoPointProperty..::..ModifiedByActionDelegate event will be raised when the GeoPoint was modified by some Action. ( The SetGeoPointEvent will also be raised or the property will be set)
Public eventModifyWithMouseEvent
Will be called when the user wants to modify the controlled GeoPoint by mouse input and "autoModifyWithMouse" was not set true in the constructor.
Public eventSelectionChangedEvent
This GeoPointProperty..::..SelectionChangedDelegate event will be raised when this GeoPointProperty gets selected (the user clicks on the label or forwards the focus by pressing the tab key) or unselected.
Public eventSetGeoPointEvent
This GeoPointProperty..::..SetGeoPointDelegate event will be raised when the GeoPoint has been changed by the user (by entering some data with the keyboard or by other interactive means) and when event communication is set by the appropriate constructor (as opposed to communication via reflection)

Explicit Interface Implementations

See Also