CADability dotNET

The IFrame type exposes the following members.

Methods

  NameDescription
Public methodAssureModelView
Public methodFocusChanged
Public methodGetActivePropertyDisplay
Public methodGetBooleanSetting
Public methodGetColorSetting
Public methodGetDoubleSetting
Public methodGetIntSetting
Public methodGetPropertyDisplay
Public methodGetSetting
Public methodGetStringSetting
Public methodPreProcessMouseWheel
Public methodRemoveActiveAction
Removes the active action froom the action stack. Usually actions terminate themselves by calling RemoveThisAction()()()().
Public methodSetAction
Starts the provided action. The currently active action will either be aborted or pushed down on the action stack until the provided action terminates.
Public methodSetControlCenterFocus
Sets the focus to a given entry in a given tabpage of the controlcenter. The names of the standard tabpgaes are: "Action","Project","Global","View","Symbol". If resourceId is null only the specified tabpage is selected.
Public methodSetCurrentMenuId
This method is usually only internally used. The menu id is set automatically when the CADability menu is used.
Public methodShowPropertyDisplay

Properties

  NameDescription
Public propertyActiveAction
Returns the currently active action. Call GetID()()()() to find out more about that action.
Public propertyActiveView
Returns the currently active view
Public propertyAllViews
Returns an array of all views currently open in the frame
Public propertyCommandHandler
Public propertyContextMenuSource
Public propertyControlCenter
Public propertyCurrentMenuId
Returns the menu id of the currently running action
Public propertyDesignMode
Public propertyDisplayArea
Public propertyInfoPopup
Public propertyProject
Returns the project that is open in this frame
Public propertySelectedObjects
Gets or sets the selected objects. There must be no other action running when this property is used. If there is another action running, nothing will be set and the get property returns null
Public propertySnapMode
Public propertySolidModellingMode

Events

  NameDescription
Public eventProcessCommandEvent
Provide a event handler if you want to be notified on command routed through this frame or to execute command handlers for some routed commands-
Public eventProcessContextMenuEvent
Provide a event handler if you want to be notified on contex menue commands routed through this frame or to execute command handlers for some routed commands-
Public eventProjectClosedEvent
Provide a event handler if you want to be notified when a project is beeing closed.
Public eventProjectOpenedEvent
Provide a event handler if you want to be notified when a project is opened.
Public eventSettingChangedEvent
Public eventUpdateCommandEvent
Provide a event handler if you want to control the appearnce of commands in the menu or toolbar (set the enabled and check flags).
Public eventUpdateContextMenuEvent
Provide a event handler if you want to control the appearance of commands in a context the menu (set the enabled and check flags).
Public eventViewsChangedEvent
Provide a event handler if you want to be notified when new views are created or views are closed.

See Also