Skip to content

ItemRemovingEventArgs(T)

JaykeBird edited this page Feb 21, 2023 · 5 revisions

Back to home | Back to Reference | View raw text

ItemRemovingEventArgs<T> class

Description

Event arguments for an ItemRemoving event. This is used for when an item is about to be removed.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SolidShineUi
  SolidShineUi.ItemRemovingEventArgs_1[[ItemRemovingEventArgs< T >]]

  end
Loading

Members

Properties

Public properties

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

Details

Summary

Event arguments for an ItemRemoving event. This is used for when an item is about to be removed.

Generic types

Type Description Constraints
T Represents the type of item being removed.

Constructors

ItemRemovingEventArgs

public ItemRemovingEventArgs(T item)
Arguments
Type Name Description
T item

Properties

Item

public T Item { get; }
Summary

The item being removed.

Cancel

public bool Cancel { get; set; }
Summary

Get or set if the removal of this item should be cancelled. If true, the item will not be removed.

Generated with ModularDoc

Clone this wiki locally