CADability dotNET

The LinePatternList type exposes the following members.

Constructors

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

Methods

  NameDescription
Public methodAdd
Adds an LinePattern object to the list. Throws a NameAlreadyExistsException if there is a LinePattern 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 LinePatternList. The entries are cloned so the copy is independant.
Public methodCreateOrFind
Public methodFind
Returns the LinePattern with the given name or null if not found.
Public methodFindIndex
Returns the index of the given line pattern or -1 if not in the list
Public methodGetContextMenu
Overrides GetContextMenu()()()(), returns the context menu with the id "MenuId.LinePatternList". (see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().)
Public methodStatic memberGetDefault
Creates a default LinePatternList.
Public methodRemove
Removes an entry from the LinePattern list. Depending on the context and global settings there might be a warning if the LinePattern is beeing used by an IGeoObject belonging to the Project. If the LinePattern 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 LinePattern. The current LinePattern is used when a new GeoObject is constructed interactively.
Public propertyEntryType
Overrides EntryType, returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.)
Public propertyItem
Returns the line pattern 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

  NameDescription
Public eventDidModifyEvent
Public eventRemovingFromListEvent
Provide a handler here to be notified when when a line pattern is beeing removed from this list.

Explicit Interface Implementations

See Also