CADability dotNET
The LineWidthList type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LineWidthList()()()() |
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.
| |
LineWidthList(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
Add |
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.
| |
Added |
Overrides Added(IPropertyTreeView) (Overrides IShowPropertyImpl..::..Added(IPropertyTreeView).) | |
Clone |
Returns a copy of this LineWidthList. The entries are cloned so the copy is independant.
| |
CreateOrFind | ||
Find |
Returns the LineWidth with the given name or null if not found.
| |
FindIndex |
Returns the index of the given linewidth in this list
| |
GetContextMenu |
Overrides GetContextMenu()()()(),
returns the context menu with the id "MenuId.LineWidthList".
(see LoadContextMenu(String, ICommandHandler))
(Overrides IShowPropertyImpl..::..GetContextMenu()()()().) | |
GetDefault |
Creates a default LineWidthList.
| |
GetObjectData | ||
Read | ||
Remove |
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.
| |
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 LineWidth. The current LineWidth is used when a new
GeoObject is constructed interactively.
| |
EntryType |
Overrides EntryType,
returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.) | |
Item |
Gets the LineWidth 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 |