CADability dotNET
The LinePatternList type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | LinePatternList()()()() |
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.
|
![]() | LinePatternList(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
![]() | Add |
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.
|
![]() | Added |
Overrides Added(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).) |
![]() | Clone |
Returns a copy of this LinePatternList. The entries are cloned so the copy is independant.
|
![]() | CreateOrFind | |
![]() | Find |
Returns the LinePattern with the given name or null if not found.
|
![]() | FindIndex |
Returns the index of the given line pattern or -1 if not in the list
|
![]() | GetContextMenu |
Overrides GetContextMenu()()()(),
returns the context menu with the id "MenuId.LinePatternList".
(see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().) |
![]() ![]() | GetDefault |
Creates a default LinePatternList.
|
![]() | Remove |
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.
|
![]() | Removed |
Overrides Removed(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Removed(IPropertyTreeView).) |
Properties
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of entities in this list.
|
![]() | Current |
Gets or sets the current LinePattern. The current LinePattern is used when a new
GeoObject is constructed interactively.
|
![]() | EntryType |
Overrides EntryType,
returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.) |
![]() | Item |
Returns the line pattern with the given index.
|
![]() | LabelType |
Overrides LabelType (Overrides IShowPropertyImpl..::..LabelType.) |
![]() | SubEntries |
Overrides SubEntries,
returns the subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntries.) |
![]() | SubEntriesCount |
Overrides SubEntriesCount,
returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntriesCount.) |
Events
Name | Description | |
---|---|---|
![]() | DidModifyEvent | |
![]() | RemovingFromListEvent |
Provide a handler here to be notified when when a line pattern is beeing removed from this list.
|