CADability dotNET
The IShowProperty type exposes the following members.
Methods
Name | Description | |
---|---|---|
Added |
Called when the entry was added to the control center or to a parent entry. The parameter
represents the tree view object to which the entry was added. Each Added is later matched by a call to Removed(IPropertyTreeView).
| |
ChildSelected |
Called when a child entry of this entry was selected.
| |
FocusableControls |
Will be called to get the focusable controls of the right hand side of the entry.
| |
GetContextMenu |
Auf einen Label wurde rechts geklickt. Erwartet wird das zugehörige ContextMenu.
Wird nur aufgerufen, wenn LabelType das Flag ContextMenu gesetzt hat.
Returns the context menu for this entry. Will only be called when ContextMenu
is specified in the LabelType property.
| |
GetValueControl |
Returns the Control which represents the right hand side of the entry.
Is only required for entries of type SimpleEntry
or OwnerDrawEntry. The Control may contain
other controls. It is responsible to provide visual feedback to the state of the object
it represents
| |
LabelChanged | ||
OnDragDrop |
Will be called when a windows "drag and drop" operation drops in the space of this object.
You may modify the drgevent parameter, especially the Effect.
| |
OnDragEnter |
Will be called when a windows "drag and drop" operation enters the space of this object.
You may modify the drgevent parameter, especially the Effect.
| |
OnDragLeave |
Will be called when a windows "drag and drop" operation leaves the space of this object.
| |
OnDragOver |
Will be called when a windows "drag and drop" operation moves over the space of this object.
You may modify the drgevent parameter, especially the Effect.
| |
OnEnterPressed |
Alt+Enter was pressed in the controlcenter while this entry was selected
| |
OnSpecialKey |
Will be called when special keys are pressed (e.g. Esc, Enter or PgUp/Down)
| |
Opened |
Notifies the item that its subitems will be shown (IsOpen==true) or that
the treeview collapses the subitems (IsOpen==false). The Item should fire the
StateChangedEvent event with the appropriate parameters.
| |
Refresh |
Forces the entry to refresh its contents
| |
Removed |
Matches the calls to Added(IPropertyTreeView). A good place to disconnect events and free resources.
| |
Select |
Forces this item to be selected in the treeview. The item must be visible.
| |
Selected |
Called whent the entry was selected.
| |
SetFocus |
Will be called when the entry got the focus.
| |
SetTabIndex |
Do not use anymore.
| |
ShowOpen |
Opens this item to show the subentries of this item in the treeview, that contains this IShowProperty object.
respectively closes or collapses this item to hide the subentries.
| |
UnSelected |
Called whent the entry was unselected.
|