CADability dotNET

The LineWidthList type exposes the following members.

Constructors

  NameDescription
Public methodLineWidthList()()()()
Constructs an empty LineWidthList. Usually you dont have to construct a LineWidthList since on construction of a new Project the global LineWidthList is cloned and set as the projects LineWidthList.
Protected methodLineWidthList(SerializationInfo, StreamingContext)
Constructor required by deserialization

Methods

  NameDescription
Public methodAdd
Adds an LineWidth object to the list. Throws a NameAlreadyExistsException if there is a LineWidth with the given name in the list. This also prevents the same object added twice to the list.
Public methodAdded (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).)
Public methodClone
Returns a copy of this LineWidthList. The entries are cloned so the copy is independant.
Public methodCreateOrFind
Public methodFind
Returns the LineWidth with the given name or null if not found.
Public methodFindIndex
Returns the index of the given linewidth in this list
Public methodGetContextMenu
Overrides GetContextMenu()()()(), returns the context menu with the id "MenuId.LineWidthList". (see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().)
Public methodStatic memberGetDefault
Creates a default LineWidthList.
Public methodGetObjectData
Public methodStatic memberRead
Public methodRemove
Removes an entry from the LineWidth list. Depending on the context and global settings there might be a warning if the LineWidth is beeing used by an IGeoObject belonging to the Project. If the LineWidth is not in the list, nothing happens.
Public methodRemoved (Overrides IShowPropertyImpl..::..Removed(IPropertyTreeView).)

Properties

  NameDescription
Public propertyCount
Gets the number of entities in this list.
Public propertyCurrent
Gets or sets the current LineWidth. The current LineWidth is used when a new GeoObject is constructed interactively.
Public propertyEntryType
Overrides EntryType, returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.)
Public propertyItem
Gets the LineWidth with the given index.
Public propertyLabelType
Overrides LabelType
(Overrides IShowPropertyImpl..::..LabelType.)
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.)

Events

Explicit Interface Implementations

See Also