CADability dotNET
The RemovingFromListEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RemovingFromListEventArgs |
Creates an RemovingFromListEventArgs object.
|
Methods
Name | Description | |
---|---|---|
DontRemoveLastItem |
Displays a massage telling the user that the last item cannot be removed
| |
ItemIsUsed |
Displays a massage telling the user that the item is still in use
and asks the user whether the item should be removed anyway.
|
Fields
Name | Description | |
---|---|---|
Item |
The object that is going to be removed.
| |
List |
The list from which the object is going to be removed.
| |
Name |
Name of the Item.
| |
Refuse |
Set this to true if you want to prevent the object to be removed.
| |
ResourceID |
Resource ID for errormessages that will be displayed in ItemIsUsed()()()().
ResourceID+".ItemIsUsed" is the formattable string like "Item with the name {0} is used. Do you want to remove it anyway".
ResourceID+".Label" is used for the Title of the message.
|