-
Notifications
You must be signed in to change notification settings - Fork 3
ItemRemovingEventArgs(T)
JaykeBird edited this page Feb 21, 2023
·
5 revisions
Back to home | Back to Reference | View raw text
Event arguments for an ItemRemoving event. This is used for when an item is about to be removed.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi
SolidShineUi.ItemRemovingEventArgs_1[[ItemRemovingEventArgs< T >]]
end
Type | Name | Methods |
---|---|---|
bool |
Cancel Get or set if the removal of this item should be cancelled. If true, the item will not be removed. |
get, set |
T |
Item The item being removed. |
get |
Event arguments for an ItemRemoving event. This is used for when an item is about to be removed.
Type | Description | Constraints |
---|---|---|
T |
Represents the type of item being removed. |
public ItemRemovingEventArgs(T item)
Type | Name | Description |
---|---|---|
T |
item |
public T Item { get; }
The item being removed.
public bool Cancel { get; set; }
Get or set if the removal of this item should be cancelled. If true, the item will not be removed.
Generated with ModularDoc