CADability dotNET

The IShowPropertyImpl type exposes the following members.

Constructors

Methods

  NameDescription
Public methodAdded
Implementation of Added(IPropertyTreeView). Momorizes the given IPropertyTreeView, raises the StateChangedEvent
Public methodChildSelected
Implementation of ChildSelected(IShowProperty), raises the StateChangedEvent
Public methodStatic memberConcat
Static helper method to concatenate two arrays of IShowProperty.
Public methodFocusableControls
Implementation of FocusableControls()()()(). Must be overridden for SimpleEntry.
Public methodGetContextMenu
Implementation of GetContextMenu()()()().
Public methodGetValueControl
Implementation of GetValueControl(Int32, Int32). Returns null. Must be overridden for SimpleEntry.
Public methodLabelChanged
Implementation of LabelChanged(String). Override if LabelType is Editable.
Public methodOnDragDrop
Public methodOnDragEnter
Public methodOnDragLeave
Public methodOnDragOver
Public methodOnEnterPressed
Public methodOnSpecialKey
Implementation of OnSpecialKey(IShowProperty, KeyEventArgs). Override if needed.
Public methodOpened
Implementation of Opened(Boolean), raises the StateChangedEvent
Public methodRefresh
Implementation of Refresh()()()().
Public methodRemoved
Implementation of Removed(IPropertyTreeView), raises the StateChangedEvent
Public methodSelect
Implementation of Select()()()(), selects this entry if it is currently contained in a IPropertyTreeView
Public methodSelected
Implementation of Selected()()()(), raises the StateChangedEvent
Public methodSetFocus
Implementation of SetFocus()()()(). Does nothing, override when needed.
Public methodShowOpen
Implementation of ShowOpen(Boolean), opens or closes this entry if it is currently contained in a IPropertyTreeView
Public methodUnSelected
Implementation of UnSelected()()()(), raises the StateChangedEvent
Public methodStatic memberUpdate
Calls the Refresh method of several standard implementations of IShowProperty.

Fields

  NameDescription
Protected fieldlabelText
Overrides the label text, which is normally retrieved from the StringTable with the resourceId
Protected fieldpropertyTreeView
The tree view that contains this entry. If null, the entry doesnt reside in a tree view. Only valid between the calls to Added(IPropertyTreeView) and Removed(IPropertyTreeView).
Protected fieldresourceId
The resourceId specifies both the label text and the tooltip text. The label text is loaded from the StringTable with the ID resourceId+".Label" the tooltip text is loaded with the id resourceId+".ShortInfo" or resourceId+".DetailedInfo". You may extend the StringTable and ues your own resourceId values according to this scheme. (see AddStrings(Stream))

Properties

  NameDescription
Public propertyEntryType
Implementation of EntryType. Returns SimpleEntry
Public propertyFrame
Returns a IFrame when this IShowProperty has been added to a IPropertyTreeView, returns null otherwise.
Public propertyHelpLink
Implementation of HelpLink, returns resourceId.
Public propertyHidden
Implementation of Hidden.
Public propertyInfoText
Implementation of InfoText, returns GetString(String, StringTable..::..Category)(resourceId+".DetailedInfo") or GetString(String, StringTable..::..Category)(resourceId+".ShortInfo")
Public propertyLabelText
Implementation of LabelText, returns either labelText (if not null) or GetString(String, StringTable..::..Category)(resourceId+".Label") Whe set, labelText is set.
Public propertyLabelType
Implementation of LabelType. Returns Selectable
Public propertyOwnerDrawHeight
Implementation of OwnerDrawHeight. Returns 0.
Public propertyReadOnly
Implementation of Hidden.
Public propertyStatic memberSelectedBckgColor
Public propertyStatic memberSelectedTextColor
Public propertySubEntries
Implementation of SubEntries. Returns an empty array.
Public propertySubEntriesCount
Implementation of SubEntriesCount. Returns 0.
Public propertyStatic memberUnselectedBckgColor
Public propertyStatic memberUnselectedTextColor

Events

  NameDescription
Public eventStateChangedEvent
Implementation of StateChangedEvent.

Explicit Interface Implementations

See Also